Class ClipperBase
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.clipper.ClipperBase
-
- All Implemented Interfaces:
Clipper
- Direct Known Subclasses:
DefaultClipper
public abstract class ClipperBase extends java.lang.Object implements Clipper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classClipperBase.LocalMinimaprotected classClipperBase.Scanbeam-
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
Fields Modifier and Type Field Description protected ClipperBase.LocalMinimacurrentLMprotected booleanhasOpenPathsprotected ClipperBase.LocalMinimaminimaListprotected booleanpreserveCollinearprotected booleanuseFullRange-
Fields inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
PRESERVE_COLINEAR, REVERSE_SOLUTION, STRICTLY_SIMPLE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClipperBase(boolean preserveCollinear)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddPath(Path pg, Clipper.PolyType polyType, boolean Closed)booleanaddPaths(Paths ppg, Clipper.PolyType polyType, boolean closed)voidclear()booleanisPreserveCollinear()protected static com.itextpdf.text.pdf.parser.clipper.Path.OutRecparseFirstLeft(com.itextpdf.text.pdf.parser.clipper.Path.OutRec FirstLeft)protected voidpopLocalMinima()protected voidreset()
-
-
-
Field Detail
-
minimaList
protected ClipperBase.LocalMinima minimaList
-
currentLM
protected ClipperBase.LocalMinima currentLM
-
useFullRange
protected boolean useFullRange
-
hasOpenPaths
protected boolean hasOpenPaths
-
preserveCollinear
protected final boolean preserveCollinear
-
-
Method Detail
-
addPath
public boolean addPath(Path pg, Clipper.PolyType polyType, boolean Closed)
-
addPaths
public boolean addPaths(Paths ppg, Clipper.PolyType polyType, boolean closed)
-
isPreserveCollinear
public boolean isPreserveCollinear()
-
popLocalMinima
protected void popLocalMinima()
-
parseFirstLeft
protected static com.itextpdf.text.pdf.parser.clipper.Path.OutRec parseFirstLeft(com.itextpdf.text.pdf.parser.clipper.Path.OutRec FirstLeft)
-
reset
protected void reset()
-
-