iText 5

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

Type

Name

Methods

double

ArcTolerance

get, set

double

MiterLimit

get, set

Methods

Public methods

Returns

Name

void

AddPath

(List<

IntPoint

> path,

JoinType

joinType,

EndType

endType)

void

AddPaths

(List<List<

IntPoint

>> paths,

JoinType

joinType,

EndType

endType)

void

Clear

()

void

Execute

(...)

Internal methods

Returns

Name

void

DoMiter

(int j, int k, double r)

void

DoRound

(int j, int k)

void

DoSquare

(int j, int k, bool addExtra)

Internal Static methods

Returns

Name

DoublePoint

GetUnitNormal

(

IntPoint

pt1,

IntPoint

pt2)

long

Round

(double value)

Details

Constructors

ClipperOffset [1/2]

Source code

public ClipperOffset()

ClipperOffset [2/2]

Source code

public ClipperOffset(double miterLimit, double arcTolerance)

Arguments

Type

Name

Description

double

miterLimit

double

arcTolerance

Methods

Clear

Source code

public void Clear()

Round

Source code

internal static long Round(double value)

Arguments

Type

Name

Description

double

value

AddPath

Source code

public void AddPath(List<IntPoint> path, JoinType joinType, EndType endType)

Arguments

Type

Name

Description

List<

IntPoint

>

path

JoinType

joinType

EndType

endType

AddPaths

Source code

public void AddPaths(List<List<IntPoint>> paths, JoinType joinType, EndType endType)

Arguments

Type

Name

Description

List<List<

IntPoint

>>

paths

JoinType

joinType

EndType

endType

GetUnitNormal

Source code

internal static DoublePoint GetUnitNormal(IntPoint pt1, IntPoint pt2)

Arguments

Type

Name

Description

IntPoint

pt1

IntPoint

pt2

Execute [1/2]

Source code

public void Execute(ref List<List<IntPoint>> solution, double delta)

Arguments

Type

Name

Description

ref

List<List<

IntPoint

>>

solution

double

delta

Execute [2/2]

Source code

public void Execute(ref PolyTree solution, double delta)

Arguments

Type

Name

Description

ref

PolyTree

solution

double

delta

DoSquare

Source code

internal void DoSquare(int j, int k, bool addExtra)

Arguments

Type

Name

Description

int

j

int

k

bool

addExtra

DoMiter

Source code

internal void DoMiter(int j, int k, double r)

Arguments

Type

Name

Description

int

j

int

k

double

r

DoRound

Source code

internal void DoRound(int j, int k)

Arguments

Type

Name

Description

int

j

int

k

Properties

ArcTolerance

public double ArcTolerance { get; set; }

MiterLimit

public double MiterLimit { get; set; }

Generated with ModularDoc