ooodev.format.proto.chart2.position_size.position_t module
- protocol ooodev.format.proto.chart2.position_size.position_t.PositionT[source]
Bases:
StyleT
,Protocol
Position Protocol
Classes that implement this protocol must have the following methods / attributes:
- __init__(*, pos_x, pos_y)[source]
Constructor
- Parameters:
pos_x (float, UnitT) – Specifies the x-coordinate of the position of the shape (in
mm
units) or Class UnitT.pos_y (float, UnitT) – Specifies the y-coordinate of the position of the shape (in
mm
units) or Class UnitT.
- Return type:
None
- from_obj(obj: Any) PositionT
- from_obj(obj: Any, **kwargs) PositionT
- 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_parent', 'prop_pos_x', 'prop_pos_y', 'remove_event_listener', 'remove_event_observer', 'restore', 'set_update_obj', 'support_service', 'update'}