ooodev.format.inner.direct.draw.shape.text.animation.blink module
- class ooodev.format.inner.direct.draw.shape.text.animation.blink.Blink(start_inside=None, visible_on_exit=None, increment=None, delay=None)[source]
Bases:
NoEffect
This class represents the text Animation of an object that supports
com.sun.star.drawing.TextProperties
.- __init__(start_inside=None, visible_on_exit=None, increment=None, delay=None)[source]
Constructor.
- Parameters:
start_inside (bool | None) – bool, optional): Start inside. If this value is
True
, the text is visible at the start of the animation.visible_on_exit (bool, optional) – Visible on exit. If this value is
True
, the text is visible at the end of the animation.increment (float, UnitT, optional) – Increment value. A positive float represents MM units, a negative value represents pixels, or a
UnitT
instance can be passed in.delay (int, optional) – Delay in milliseconds. This is the delay in thousandths of a second (milliseconds) between each of the animation steps. A value of 0 means automatic delay.
- 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_delay: int | None
This is the delay in thousandths (milliseconds) of a second between each of the animation steps.
A value of 0 means automatic delay.
- Return type:
int | None
- property prop_increment: UnitMM | None
Gets or sets This is the number of pixels the text is moved in each animation step.
When setting the value, it can be a positive float in MM units or a negative integer in pixels or a
UnitT
instance.- Return type:
UnitMM | None
- property prop_start_inside: bool | None
If this value is
True
, the text is visible at the start of the animation.- Return type:
bool | None
- property prop_visible_on_exit: bool | None
If this value is
True
, the text is visible at the end of the animation.- Return type:
bool | None