|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.piece.XTransitionList.XTransitionListEnumerator
public class XTransitionList.XTransitionListEnumerator
Special Enumerator for XTransitionList.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface cz.cuni.jagrlib.BitMaskEnumerator |
|---|
BitMaskEnumerator.HLine, BitMaskEnumerator.Pixel |
| Field Summary | |
|---|---|
protected int |
i
scan array pointer (). |
protected cz.cuni.jagrlib.piece.XItem[] |
scan
Actual scanline-array (of XItem). |
protected int |
x
Actual X coordinate. |
protected int |
xEnd
Finishing 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 positive span. |
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 xEnd
protected int y
protected cz.cuni.jagrlib.piece.XItem[] scan
XItem).
protected int i
| Method Detail |
|---|
public void reset()
reset in interface BitMaskEnumeratorprotected boolean findNext()
public BitMaskEnumerator.Pixel nextPixel(BitMaskEnumerator.Pixel pre)
BitMask (AlphaMask) pixel.
nextPixel in interface BitMaskEnumeratorpre - Pre-allocated BitMaskEnumerator.Pixel instance (non-mandatory).
nextHLine(cz.cuni.jagrlib.BitMaskEnumerator.HLine)public BitMaskEnumerator.HLine nextHLine(BitMaskEnumerator.HLine pre)
BitMask (AlphaMask) H-line.
nextHLine in interface BitMaskEnumeratorpre - 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 | |||||||||