CadHatchPatternLine
from OpenCAD2D import CadHatchPatternLine
class CadHatchPatternLine(System.Object) ยท CadHatchPatternLine in the .NET reference
A line of a hatch pattern as a .pat file writes it: its angle in degrees, the point it runs through, the step to the next copy along the line and across it, in the line's own frame, and its dashes. ANSI31 is the one line 45, 0,0, 0,3.175: at 45 degrees through the origin, each copy 3.175 across from the last, solid.
Constructors
__init__
def __init__(
self,
angle: float,
baseX: float,
baseY: float,
along: float,
across: float,
dashes: System.Collections.Generic.IEnumerable[float],
) -> None
Makes a line of a pattern.
Properties and fields
Across
@property
def Across(self) -> float
Gets the step to the next copy across the line (delta-y).
Along
@property
def Along(self) -> float
Gets the step to the next copy along the line (delta-x).
Angle
@property
def Angle(self) -> float
Gets the angle in degrees.
BaseX
@property
def BaseX(self) -> float
Gets the x of the point the line runs through.
BaseY
@property
def BaseY(self) -> float
Gets the y of that point.
Dashes
@property
def Dashes(self) -> System.Collections.Generic.IReadOnlyList[float]
Gets the dashes; none for a solid line.