Skip to main content
Skip table of contents

ClipperOffset

ClipperOffset 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.ClipperOffset[[ClipperOffset]]
  end

Members

Properties

Public properties
TypeNameMethods
doubleArcToleranceget, set
doubleMiterLimitget, set

Methods

Public methods
ReturnsName
voidAddPath(List<IntPoint> path, JoinType joinType, EndType endType)
voidAddPaths(List<List<IntPoint>> paths, JoinType joinType, EndType endType)
voidClear()
voidExecute(...)
Internal methods
ReturnsName
voidDoMiter(int j, int k, double r)
voidDoRound(int j, int k)
voidDoSquare(int j, int k, bool addExtra)
Internal Static methods
ReturnsName
DoublePointGetUnitNormal(IntPoint pt1, IntPoint pt2)
longRound(double value)

Details

Constructors

ClipperOffset [1/2]

Source code

public ClipperOffset()
ClipperOffset [2/2]

Source code

public ClipperOffset(double miterLimit, double arcTolerance)
Arguments
TypeNameDescription
doublemiterLimit
doublearcTolerance

Methods

Clear

Source code

public void Clear()
Round

Source code

internal static long Round(double value)
Arguments
TypeNameDescription
doublevalue
AddPath

Source code

public void AddPath(List<IntPoint> path, JoinType joinType, EndType endType)
Arguments
TypeNameDescription
List<IntPoint>path
JoinTypejoinType
EndTypeendType
AddPaths

Source code

public void AddPaths(List<List<IntPoint>> paths, JoinType joinType, EndType endType)
Arguments
TypeNameDescription
List<List<IntPoint>>paths
JoinTypejoinType
EndTypeendType
GetUnitNormal

Source code

internal static DoublePoint GetUnitNormal(IntPoint pt1, IntPoint pt2)
Arguments
TypeNameDescription
IntPointpt1
IntPointpt2
Execute [1/2]

Source code

public void Execute(ref List<List<IntPoint>> solution, double delta)
Arguments
TypeNameDescription
ref List<List<IntPoint>>solution
doubledelta
Execute [2/2]

Source code

public void Execute(ref PolyTree solution, double delta)
Arguments
TypeNameDescription
ref PolyTreesolution
doubledelta
DoSquare

Source code

internal void DoSquare(int j, int k, bool addExtra)
Arguments
TypeNameDescription
intj
intk
booladdExtra
DoMiter

Source code

internal void DoMiter(int j, int k, double r)
Arguments
TypeNameDescription
intj
intk
doubler
DoRound

Source code

internal void DoRound(int j, int k)
Arguments
TypeNameDescription
intj
intk

Properties

ArcTolerance
public double ArcTolerance { get; set; }
MiterLimit
public double MiterLimit { get; set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.