ooodev.format.proto.borders.line_properties_t module
- protocol ooodev.format.proto.borders.line_properties_t.LinePropertiesT[source]
Bases:
StyleT
,Protocol
Size Protocol
Classes that implement this protocol must have the following methods / attributes:
- __init__(*, style=Ellipsis, color=Ellipsis, width=Ellipsis, transparency=Ellipsis)[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
- from_obj(obj: object) LinePropertiesT
- from_obj(obj: object, **kwargs) LinePropertiesT
- from_obj(**kwds)
Helper for @overload to raise when called.
- __protocol_attrs__ = {'add_event_listener', 'add_event_observer', 'apply', 'backup', 'copy', 'from_obj', 'get_attrs', 'get_props', 'get_update_obj', 'has_update_obj', 'on_applied', 'on_applying', 'on_property_backed_up', 'on_property_backing_up', 'on_property_restore_set', 'on_property_restore_setting', 'on_property_set', 'on_property_set_error', 'prop_color', 'prop_format_kind', 'prop_has_attribs', 'prop_has_backup', 'prop_parent', 'prop_style', 'prop_transparency', 'prop_width', 'remove_event_listener', 'remove_event_observer', 'restore', 'set_update_obj', 'support_service', 'update'}
- property prop_style: BorderLineKind
Gets/Sets the style.
- Return type: