Class ClipperBase
java.lang.Object
com.itextpdf.text.pdf.parser.clipper.ClipperBase
- All Implemented Interfaces:
Clipper
- Direct Known Subclasses:
DefaultClipper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected class
Nested classes/interfaces inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
Clipper.ClipType, Clipper.Direction, Clipper.EndType, Clipper.JoinType, Clipper.PolyFillType, Clipper.PolyType, Clipper.ZFillCallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClipperBase.LocalMinima
protected boolean
private static final long
private static final Logger
private static final long
protected ClipperBase.LocalMinima
protected final boolean
protected boolean
Fields inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
PRESERVE_COLINEAR, REVERSE_SOLUTION, STRICTLY_SIMPLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addPath
(Path pg, Clipper.PolyType polyType, boolean Closed) boolean
addPaths
(Paths ppg, Clipper.PolyType polyType, boolean closed) void
clear()
private void
private static void
initEdge
(Edge e, Edge eNext, Edge ePrev, Point.LongPoint pt) private static void
initEdge2
(Edge e, Clipper.PolyType polyType) private void
boolean
protected static Path.OutRec
parseFirstLeft
(Path.OutRec FirstLeft) protected void
private Edge
processBound
(Edge e, boolean LeftBoundIsForward) private static boolean
rangeTest
(Point.LongPoint Pt, boolean useFullRange) private static Edge
removeEdge
(Edge e) protected void
reset()
-
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
public void clear() -
disposeLocalMinimaList
private void disposeLocalMinimaList() -
insertLocalMinima
-
isPreserveCollinear
public boolean isPreserveCollinear() -
popLocalMinima
protected void popLocalMinima() -
processBound
-
parseFirstLeft
-
reset
protected void reset()
-