Table of Contents

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

name string

The name, as ANSI31.

description string

The description; null for none.

lines IEnumerable<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.