Pen#
- class Pen[source]#
- __init__(extent: float = 0.0, line_color: str = '#000000', line_style: LineStyle = LineStyle.SOLID)[source]#
Define a new pen with a given extend, color and line style
- Parameters:
extent – Width in mm
line_color – Color hex string
line_style – One of the LineStyle enums
- property extent: float#
The extent of the line in millimeters
- Getter:
Returns the extent
- Setter:
Sets the extent
- property color: str#
The color of the line
- Getter:
Returns the color
- Setter:
Sets the color