Property PatternAngle
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
PatternAngle
Gets or sets the angle of the pattern (group 52, in degrees), as AutoCAD's PatternAngle: in radians, nought where
the record gives none.
public double PatternAngle { get; set; }
Property Value
- double
Set, a finite number: written in group 52 in degrees, and the lines of the pattern the HATCH holds turned by the new angle less the old, about the origin of the plane, as ezdxf's
set_pattern_angleturns them; where the drawing's PatternSearchPath finds the pattern, its lines written anew from the file at the new angle and the scale it has, as AutoCAD 2021 writes them:0, 0,0, 0,2at scale 3 and 90 degrees is the line at 90 degrees, offset (-6, 0).
Exceptions
- ArgumentOutOfRangeException
Thrown when the angle set is not a finite number.
- InvalidOperationException
Thrown when an angle other than the one it has is set on a solid fill, which has none, or on a HATCH that is erased.