ooodev.format.proto.chart2.position_size.size_t module
- protocol ooodev.format.proto.chart2.position_size.size_t.SizeT[source]
Bases:
StyleT
,Protocol
Size Protocol
Classes that implement this protocol must have the following methods / attributes:
- __init__(*, width, height)[source]
Constructor
- Parameters:
width (float | UnitT) – Specifies the width of the shape (in
mm
units) or Class UnitT.height (float | UnitT) – Specifies the height of the shape (in
mm
units) or Class UnitT.
- Return type:
None
- from_obj(obj: Any) SizeT
- from_obj(obj: Any, **kwargs) SizeT
- 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_format_kind', 'prop_has_attribs', 'prop_has_backup', 'prop_height', 'prop_parent', 'prop_width', 'remove_event_listener', 'remove_event_observer', 'restore', 'set_update_obj', 'support_service', 'update'}