ooodev.format.chart2.direct.general.borders package
Module contents
- class ooodev.format.chart2.direct.general.borders.LineProperties(style=BorderLineKind.CONTINUOUS, color=0, width=0, transparency=0)[source]
Bases:
StyleBase
This class represents the line properties of a chart borders line properties.
See also
- __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
- copy()[source]
- copy(**kwargs)
- copy(**kwargs)
Copy the current instance.
- Returns:
The copied instance.
- Return type:
- classmethod from_obj(obj: object)[source]
- classmethod from_obj(obj: object, **kwargs)
- classmethod from_obj(obj, **kwargs)
Creates a new instance from
obj
.- Parameters:
obj (Any) – UNO Shape object.
- Returns:
New instance.
- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_style: BorderLineKind
Gets/Sets the style.
- Return type: