Clipper Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf.parser.clipper
iTextSharp.text.pdf.parser.clipper.Clipper[[Clipper]]
iTextSharp.text.pdf.parser.clipper.ClipperBase[[ClipperBase]]
end
iTextSharp.text.pdf.parser.clipper.ClipperBase --> iTextSharp.text.pdf.parser.clipper.Clipper
Members
Properties
Public properties
Methods
Protected methods
Public methods
Internal methods
Internal Static methods
Public Static methods
Details
Inheritance
Nested types
Enums
Constructors
Clipper [1/2]
Source code
public Clipper()
Clipper [2/2]
Source code
public Clipper(int InitOptions)
Arguments
Type | Name | Description |
---|
int | InitOptions | |
Methods
Reset
Source code
protected override void Reset()
Execute [1/6]
Source code
public bool Execute(ClipType clipType, List<List<IntPoint>> solution)
Arguments
Execute [2/6]
Source code
public bool Execute(ClipType clipType, List<List<IntPoint>> solution, PolyFillType FillType)
Arguments
Execute [3/6]
Source code
public bool Execute(ClipType clipType, PolyTree polytree)
Arguments
Execute [4/6]
Source code
public bool Execute(ClipType clipType, PolyTree polytree, PolyFillType FillType)
Arguments
Execute [5/6]
Source code
public bool Execute(ClipType clipType, List<List<IntPoint>> solution, PolyFillType subjFillType, PolyFillType clipFillType)
Arguments
Execute [6/6]
Source code
public bool Execute(ClipType clipType, PolyTree polytree, PolyFillType subjFillType, PolyFillType clipFillType)
Arguments
FixHoleLinkage
Source code
internal void FixHoleLinkage(OutRec outRec)
Arguments
Type | Name | Description |
---|
OutRec | outRec | |
SwapPoints
Source code
internal void SwapPoints(ref IntPoint pt1, ref IntPoint pt2)
Arguments
Round
Source code
internal static long Round(double value)
Arguments
Type | Name | Description |
---|
double | value | |
ReversePaths
Source code
public static void ReversePaths(List<List<IntPoint>> polys)
Arguments
Type | Name | Description |
---|
List <List <IntPoint >> | polys | |
Orientation
Source code
public static bool Orientation(List<IntPoint> poly)
Arguments
PointInPolygon
Source code
public static int PointInPolygon(IntPoint pt, List<IntPoint> path)
Arguments
Area
Source code
public static double Area(List<IntPoint> poly)
Arguments
SimplifyPolygon [1/2]
Source code
public static List<List<IntPoint>> SimplifyPolygon(List<IntPoint> poly)
Arguments
SimplifyPolygon [2/2]
Source code
public static List<List<IntPoint>> SimplifyPolygon(List<IntPoint> poly, PolyFillType fillType)
Arguments
SimplifyPolygons [1/2]
Source code
public static List<List<IntPoint>> SimplifyPolygons(List<List<IntPoint>> polys)
Arguments
Type | Name | Description |
---|
List <List <IntPoint >> | polys | |
SimplifyPolygons [2/2]
Source code
public static List<List<IntPoint>> SimplifyPolygons(List<List<IntPoint>> polys, PolyFillType fillType)
Arguments
CleanPolygon [1/2]
Source code
public static List<IntPoint> CleanPolygon(List<IntPoint> path)
Arguments
CleanPolygon [2/2]
Source code
public static List<IntPoint> CleanPolygon(List<IntPoint> path, double distance)
Arguments
Type | Name | Description |
---|
List <IntPoint > | path | |
double | distance | |
CleanPolygons [1/2]
Source code
public static List<List<IntPoint>> CleanPolygons(List<List<IntPoint>> polys)
Arguments
Type | Name | Description |
---|
List <List <IntPoint >> | polys | |
CleanPolygons [2/2]
Source code
public static List<List<IntPoint>> CleanPolygons(List<List<IntPoint>> polys, double distance)
Arguments
Type | Name | Description |
---|
List <List <IntPoint >> | polys | |
double | distance | |
Minkowski
Source code
internal static List<List<IntPoint>> Minkowski(List<IntPoint> pattern, List<IntPoint> path, bool IsSum, bool IsClosed)
Arguments
MinkowskiSum [1/2]
Source code
public static List<List<IntPoint>> MinkowskiSum(List<IntPoint> pattern, List<IntPoint> path, bool pathIsClosed)
Arguments
MinkowskiSum [2/2]
Source code
public static List<List<IntPoint>> MinkowskiSum(List<IntPoint> pattern, List<List<IntPoint>> paths, bool pathIsClosed)
Arguments
Type | Name | Description |
---|
List <IntPoint > | pattern | |
List <List <IntPoint >> | paths | |
bool | pathIsClosed | |
MinkowskiDiff
Source code
public static List<List<IntPoint>> MinkowskiDiff(List<IntPoint> poly1, List<IntPoint> poly2)
Arguments
PolyTreeToPaths
Source code
public static List<List<IntPoint>> PolyTreeToPaths(PolyTree polytree)
Arguments
AddPolyNodeToPaths
Source code
internal static void AddPolyNodeToPaths(PolyNode polynode, NodeType nt, List<List<IntPoint>> paths)
Arguments
OpenPathsFromPolyTree
Source code
public static List<List<IntPoint>> OpenPathsFromPolyTree(PolyTree polytree)
Arguments
ClosedPathsFromPolyTree
Source code
public static List<List<IntPoint>> ClosedPathsFromPolyTree(PolyTree polytree)
Arguments
Properties
ReverseSolution
public bool ReverseSolution { get; set; }
StrictlySimple
public bool StrictlySimple { get; set; }
Generated with ModularDoc