Table of Contents

Constructor DxfPatternDefinition

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfPatternDefinition(double, double, double, double, double, IEnumerable<double>)

Initializes a line of a pattern, as AutoCAD's new PatternDefinition(angle, basePoint, offset, dashes).

public DxfPatternDefinition(double angle, double baseX, double baseY, double offsetX, double offsetY, IEnumerable<double> dashes)

Parameters

angle double

The angle of the lines, in radians from the x axis of the HATCH's plane.

baseX double

The x of the point the first line runs through, in the HATCH's plane.

baseY double

The y of that point.

offsetX double

The x of the step from one line to the next.

offsetY double

The y of that step.

dashes IEnumerable<double>

The dashes, a length above nought drawn, below it left out, nought a dot; none for a solid line.

Exceptions

ArgumentOutOfRangeException

Thrown when a number is not finite.