Table of Contents

Constructor OffsetOptions

Namespace
GeometryHelper
Assembly
GeometryHelper.dll

OffsetOptions(OffsetJoin, double, double)

Initializes offset options.

public OffsetOptions(OffsetJoin join, double miterLimit = 10, double arcTolerance = 0)

Parameters

join OffsetJoin

How the gap at a corner is closed.

miterLimit double

How far a Miter corner may reach from its vertex, as a multiple of the offset distance; beyond it the corner is cut off square at that distance. At least 1, and PositiveInfinity keeps every corner sharp. Ignored by the other joins.

arcTolerance double

The largest gap allowed between a Round corner and the true arc, in drawing units. Zero (the default) picks AutomaticArcToleranceRatio of the offset distance. Ignored by the other joins.

Exceptions

ArgumentOutOfRangeException

Thrown when the join is not a defined value, the miter limit is below 1 or not a number, or the arc tolerance is negative, infinite or not a number.