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
angledoubleThe angle in degrees.
baseXdoubleThe x of the point it runs through.
baseYdoubleThe y of that point.
alongdoubleThe step to the next copy along the line (delta-x).
acrossdoubleThe step to the next copy across it (delta-y).
dashesIEnumerable<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.