Method ForHatch
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ForHatch(string, string)
Makes a hatch tool of a pattern of the presenter's own set or a support folder, at angle 0 and scale 1.
public static CadTool ForHatch(string name, string pattern)
Parameters
namestringThe name shown under its picture.
patternstringThe pattern's name: ANSI31. SOLID makes a solid fill.
Returns
- CadTool
The tool.
Exceptions
- ArgumentNullException
Thrown when the name or the pattern is null.