Class Edge
- java.lang.Object
-
- com.itextpdf.kernel.pdf.canvas.parser.clipper.Edge
-
class Edge extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classEdge.Side
-
Field Summary
Fields Modifier and Type Field Description private Point.LongPointbotprivate Point.LongPointcurrentprivate Point.LongPointdelta(package private) doubledeltaXprotected static doubleHORIZONTALprivate static java.util.logging.LoggerLOGGER(package private) Edgenext(package private) EdgenextInAEL(package private) EdgenextInLML(package private) EdgenextInSEL(package private) intoutIdx(package private) IClipper.PolyTypepolyTyp(package private) Edgeprev(package private) EdgeprevInAEL(package private) EdgeprevInSEL(package private) Edge.Sidesideprotected static intSKIPprivate Point.LongPointtopprotected static intUNASSIGNED(package private) intwindCnt(package private) intwindCnt2(package private) intwindDelta
-
Constructor Summary
Constructors Constructor Description Edge()
-
Method Summary
-
-
-
Field Detail
-
bot
private final Point.LongPoint bot
-
current
private final Point.LongPoint current
-
top
private final Point.LongPoint top
-
delta
private final Point.LongPoint delta
-
deltaX
double deltaX
-
polyTyp
IClipper.PolyType polyTyp
-
side
Edge.Side side
-
windDelta
int windDelta
-
windCnt
int windCnt
-
windCnt2
int windCnt2
-
outIdx
int outIdx
-
next
Edge next
-
prev
Edge prev
-
nextInLML
Edge nextInLML
-
nextInAEL
Edge nextInAEL
-
prevInAEL
Edge prevInAEL
-
nextInSEL
Edge nextInSEL
-
prevInSEL
Edge prevInSEL
-
SKIP
protected static final int SKIP
- See Also:
- Constant Field Values
-
UNASSIGNED
protected static final int UNASSIGNED
- See Also:
- Constant Field Values
-
HORIZONTAL
protected static final double HORIZONTAL
- See Also:
- Constant Field Values
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
-
Method Detail
-
topX
static long topX(Edge edge, long currentY)
-
findNextLocMin
public Edge findNextLocMin()
-
getBot
public Point.LongPoint getBot()
-
getCurrent
public Point.LongPoint getCurrent()
-
getDelta
public Point.LongPoint getDelta()
-
getMaximaPair
public Edge getMaximaPair()
-
getNextInAEL
public Edge getNextInAEL(IClipper.Direction direction)
-
getTop
public Point.LongPoint getTop()
-
isContributing
public boolean isContributing(IClipper.PolyFillType clipFillType, IClipper.PolyFillType subjFillType, IClipper.ClipType clipType)
-
isEvenOddAltFillType
public boolean isEvenOddAltFillType(IClipper.PolyFillType clipFillType, IClipper.PolyFillType subjFillType)
-
isEvenOddFillType
public boolean isEvenOddFillType(IClipper.PolyFillType clipFillType, IClipper.PolyFillType subjFillType)
-
isHorizontal
public boolean isHorizontal()
-
isIntermediate
public boolean isIntermediate(double y)
-
isMaxima
public boolean isMaxima(double Y)
-
reverseHorizontal
public void reverseHorizontal()
-
setBot
public void setBot(Point.LongPoint bot)
-
setCurrent
public void setCurrent(Point.LongPoint current)
-
setTop
public void setTop(Point.LongPoint top)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
updateDeltaX
public void updateDeltaX()
-
-