Class ClipperBase
java.lang.Object
com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBase
- All Implemented Interfaces:
IClipper
- Direct Known Subclasses:
DefaultClipper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classNested classes/interfaces inherited from interface IClipper
IClipper.ClipType, IClipper.Direction, IClipper.EndType, IClipper.IZFillCallback, IClipper.JoinType, IClipper.PolyFillType, IClipper.PolyType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClipperBase.LocalMinimaprotected booleanprivate static final longprivate static final Loggerprivate static final longprotected ClipperBase.LocalMinimaprotected final booleanprotected booleanFields inherited from interface IClipper
PRESERVE_COLINEAR, REVERSE_SOLUTION, STRICTLY_SIMPLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPath(Path pg, IClipper.PolyType polyType, boolean Closed) booleanaddPaths(Paths ppg, IClipper.PolyType polyType, boolean closed) voidclear()private voidprivate static voidinitEdge(Edge e, Edge eNext, Edge ePrev, Point.LongPoint pt) private static voidinitEdge2(Edge e, IClipper.PolyType polyType) private voidbooleanprotected static Path.OutRecparseFirstLeft(Path.OutRec FirstLeft) protected voidprivate EdgeprocessBound(Edge e, boolean LeftBoundIsForward) private static booleanrangeTest(Point.LongPoint Pt, boolean useFullRange) private static EdgeremoveEdge(Edge e) protected voidreset()
-
Field Details
-
LOW_RANGE
private static final long LOW_RANGE- See Also:
-
HI_RANGE
private static final long HI_RANGE- See Also:
-
minimaList
-
currentLM
-
edges
-
useFullRange
protected boolean useFullRange -
hasOpenPaths
protected boolean hasOpenPaths -
preserveCollinear
protected final boolean preserveCollinear -
LOGGER
-
-
Constructor Details
-
ClipperBase
protected ClipperBase(boolean preserveCollinear)
-
-
Method Details
-
initEdge
-
initEdge2
-
rangeTest
-
removeEdge
-
addPath
-
addPaths
-
clear
-
disposeLocalMinimaList
private void disposeLocalMinimaList() -
insertLocalMinima
-
isPreserveCollinear
public boolean isPreserveCollinear() -
popLocalMinima
protected void popLocalMinima() -
processBound
-
parseFirstLeft
-
reset
protected void reset()
-