|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.piece.AlphaMatrix.AlphaMatrixEnumerator
public class AlphaMatrix.AlphaMatrixEnumerator
Special Enumerator for AlphaMatrix.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface cz.cuni.jagrlib.BitMaskEnumerator |
---|
BitMaskEnumerator.HLine, BitMaskEnumerator.Pixel |
Field Summary | |
---|---|
protected int |
x
Actual X coordinate. |
protected int |
y
Actual Y coordinate. |
Fields inherited from interface cz.cuni.jagrlib.BitMaskEnumerator |
---|
MINUS_INFINITY, PLUS_INFINITY |
Method Summary | |
---|---|
protected boolean |
findNext()
Finds the next non-transparent pixel. |
BitMaskEnumerator.HLine |
nextHLine(BitMaskEnumerator.HLine pre)
Returns the next BitMask (AlphaMask) H-line. |
BitMaskEnumerator.Pixel |
nextPixel(BitMaskEnumerator.Pixel pre)
Returns the next BitMask (AlphaMask) pixel. |
void |
reset()
(re-)initialization of the enumerator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int x
protected int y
Method Detail |
---|
public void reset()
reset
in interface BitMaskEnumerator
protected boolean findNext()
public BitMaskEnumerator.Pixel nextPixel(BitMaskEnumerator.Pixel pre)
nextPixel
in interface BitMaskEnumerator
pre
- Pre-allocated BitMaskEnumerator.Pixel instance (non-mandatory).
nextHLine(cz.cuni.jagrlib.BitMaskEnumerator.HLine)
public BitMaskEnumerator.HLine nextHLine(BitMaskEnumerator.HLine pre)
nextHLine
in interface BitMaskEnumerator
pre
- Pre-allocated BitMaskEnumerator.HLine instance (non-mandatory).
nextPixel(cz.cuni.jagrlib.BitMaskEnumerator.Pixel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |