CadPlotPen
from OpenCAD2D import CadPlotPen
class CadPlotPen(System.Object) ยท CadPlotPen in the .NET reference
What a plot draws an item as, after its plot style: the colour, and where the style sets them the lineweight, the linetype and the shape of the line's ends and corners. Made by CadPlotStyleResolver; never changed.
Properties and fields
Dashes
@property
def Dashes(self) -> System.Array[float] | None
Gets the dash pattern the style sets, in millimetres of the sheet, as on and off lengths in turn (an on length of nought is a dot); null for a solid line, where CadPlotPen.HasLinetype.
HasLineWeight
@property
def HasLineWeight(self) -> bool
Gets whether the style sets the lineweight; false, the object's own is plotted.
HasLinetype
@property
def HasLinetype(self) -> bool
Gets whether the style sets the linetype; false, the object's own is plotted.
LineEnd
@property
def LineEnd(self) -> CadPlotLineEnd
Gets the shape of a line's end.
LineJoin
@property
def LineJoin(self) -> CadPlotLineJoin
Gets the shape of a corner.
LineWeight
@property
def LineWeight(self) -> float
Gets the lineweight the style sets, in millimetres, where CadPlotPen.HasLineWeight.
Rgb
@property
def Rgb(self) -> int
Gets the colour plotted, 0xRRGGBB, after the style's colour, grayscale and screening.