Table of Contents

Constructor CadHatchPatternLine

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadHatchPatternLine(double, double, double, double, double, IEnumerable<double>)

Makes a line of a pattern.

public CadHatchPatternLine(double angle, double baseX, double baseY, double along, double across, IEnumerable<double> dashes)

Parameters

angle double

The angle in degrees.

baseX double

The x of the point it runs through.

baseY double

The y of that point.

along double

The step to the next copy along the line (delta-x).

across double

The step to the next copy across it (delta-y).

dashes IEnumerable<double>

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

Exceptions

ArgumentOutOfRangeException

Thrown when a number is not finite.