Constructor CadHatchPattern
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadHatchPattern(string, string, IEnumerable<CadHatchPatternLine>)
Makes a pattern.
public CadHatchPattern(string name, string description, IEnumerable<CadHatchPatternLine> lines)
Parameters
namestringThe name, as ANSI31.
descriptionstringThe description; null for none.
linesIEnumerable<CadHatchPatternLine>The lines, at least one.
Exceptions
- ArgumentNullException
Thrown when the name or the lines are null.
- ArgumentException
Thrown when the name is blank or there is no line.