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 Object implements Clipper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
ClipperBase.LocalMinima
protected class
ClipperBase.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.LocalMinima
currentLM
protected boolean
hasOpenPaths
protected ClipperBase.LocalMinima
minimaList
protected boolean
preserveCollinear
protected boolean
useFullRange
-
Fields inherited from interface com.itextpdf.text.pdf.parser.clipper.Clipper
PRESERVE_COLINEAR, REVERSE_SOLUTION, STRICTLY_SIMPLE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClipperBase(boolean preserveCollinear)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addPath(Path pg, Clipper.PolyType polyType, boolean Closed)
boolean
addPaths(Paths ppg, Clipper.PolyType polyType, boolean closed)
void
clear()
boolean
isPreserveCollinear()
protected static com.itextpdf.text.pdf.parser.clipper.Path.OutRec
parseFirstLeft(com.itextpdf.text.pdf.parser.clipper.Path.OutRec FirstLeft)
protected void
popLocalMinima()
protected void
reset()
-
-
-
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()
-
-