Class DefaultClipper
java.lang.Object
com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBase
com.itextpdf.kernel.pdf.canvas.parser.clipper.DefaultClipper
- All Implemented Interfaces:
-
IClipper
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBase
ClipperBase.LocalMinima, ClipperBase.Scanbeam
Nested classes/interfaces inherited from interface com.itextpdf.kernel.pdf.canvas.parser.clipper.IClipper
IClipper.ClipType, IClipper.Direction, IClipper.EndType, IClipper.IZFillCallback, IClipper.JoinType, IClipper.PolyFillType, IClipper.PolyType
-
Field Summary
Fields inherited from class com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBase
currentLM, hasOpenPaths, minimaList, preserveCollinear, useFullRange
Fields inherited from interface com.itextpdf.kernel.pdf.canvas.parser.clipper.IClipper
PRESERVE_COLINEAR, REVERSE_SOLUTION, STRICTLY_SIMPLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(IClipper.ClipType clipType, Paths solution) boolean
execute
(IClipper.ClipType clipType, Paths solution, IClipper.PolyFillType FillType) boolean
execute
(IClipper.ClipType clipType, Paths solution, IClipper.PolyFillType subjFillType, IClipper.PolyFillType clipFillType) boolean
execute
(IClipper.ClipType clipType, PolyTree polytree) boolean
execute
(IClipper.ClipType clipType, PolyTree polytree, IClipper.PolyFillType FillType) boolean
execute
(IClipper.ClipType clipType, PolyTree polytree, IClipper.PolyFillType subjFillType, IClipper.PolyFillType clipFillType) static Paths
minkowskiDiff
(Path poly1, Path poly2) static Paths
minkowskiSum
(Path pattern, Path path, boolean pathIsClosed) static Paths
minkowskiSum
(Path pattern, Paths paths, boolean pathIsClosed) protected void
reset()
static Paths
simplifyPolygon
(Path poly) static Paths
simplifyPolygon
(Path poly, IClipper.PolyFillType fillType) static Paths
simplifyPolygons
(Paths polys) static Paths
simplifyPolygons
(Paths polys, IClipper.PolyFillType fillType) Methods inherited from class com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBase
addPath, addPaths, clear, isPreserveCollinear, parseFirstLeft, popLocalMinima
-
Field Details
-
polyOuts
-
zFillFunction
-
-
Constructor Details
-
DefaultClipper
public DefaultClipper() -
DefaultClipper
public DefaultClipper(int InitOptions)
-
-
Method Details
-
minkowskiDiff
-
minkowskiSum
-
minkowskiSum
-
simplifyPolygon
-
simplifyPolygon
-
simplifyPolygons
-
simplifyPolygons
-
execute
-
execute
-
execute
public boolean execute(IClipper.ClipType clipType, PolyTree polytree, IClipper.PolyFillType FillType) -
execute
-
execute
public boolean execute(IClipper.ClipType clipType, Paths solution, IClipper.PolyFillType subjFillType, IClipper.PolyFillType clipFillType) -
execute
public boolean execute(IClipper.ClipType clipType, PolyTree polytree, IClipper.PolyFillType subjFillType, IClipper.PolyFillType clipFillType) -
reset
protected void reset()- Overrides:
-
reset
in classClipperBase
-