ooodev.format.draw.direct.line.line_properties module
- class ooodev.format.draw.direct.line.line_properties.LineProperties(style=BorderLineKind.CONTINUOUS, color=0, width=0, transparency=0)[source]
Bases:
LineProperties
This class represents the line properties of a shape.
See also
New in version 0.17.4.
- __init__(style=BorderLineKind.CONTINUOUS, color=0, width=0, transparency=0)[source]
Constructor.
- Parameters:
style (BorderLineKind) – Line style. Defaults to
BorderLineKind.CONTINUOUS
.color (Color, optional) – Line Color. Defaults to
Color(0)
.width (float | UnitT, optional) – Line Width (in
mm
units) or Class UnitT. Defaults to0
.transparency (int | Intensity, optional) – Line transparency from
0
to100
. Defaults to0
.
- Return type:
None
See also