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
angledoubleThe angle of the lines, in radians from the x axis of the HATCH's plane.
baseXdoubleThe x of the point the first line runs through, in the HATCH's plane.
baseYdoubleThe y of that point.
offsetXdoubleThe x of the step from one line to the next.
offsetYdoubleThe y of that step.
dashesIEnumerable<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.