Class CadHatchPattern
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
A hatch pattern of a .pat file: its name, its description and its lines.
public sealed class CadHatchPattern
- Inheritance
-
CadHatchPattern
- Inherited Members
Constructors
- CadHatchPattern(string, string, IEnumerable<CadHatchPatternLine>)
Makes a pattern.
Properties
- Description
Gets the description.
- Lines
Gets the lines.
- Name
Gets the name.
Methods
- Place(double, double, double, double)
Gets the lines placed as a HATCH holds them, as AutoCAD 2021 places those of its file: each line's angle turned by the angle, its base point scaled and turned about the origin and moved by the origin given, its step turned into the plane by its own angle and scaled, its dashes scaled. ANSI31 at angle nought and scale 1 is the line at 45 degrees through (0, 0), offset (-2.245, 2.245); at 30 degrees and scale 2, at 75 degrees, offset (-6.134, 1.644).