ooodev.format.inner.direct.draw.shape.rotation.rotation module
- class ooodev.format.inner.direct.draw.shape.rotation.rotation.Rotation(rotation=0)[source]
Bases:
StyleBase
Rotation of a shape.
New in version 0.17.4.
- __init__(rotation=0)[source]
Constructor
- Parameters:
rotation (int, AngleUnitT, optional) – Specifies the rotation angle of the shape in degrees. Default is
0
.- Return type:
None
- 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: