GES.TextOverlay¶
- Subclasses:
None
Methods¶
- Inherited:
GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GES.TextOverlay(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()[source]¶
- Returns:
The newly created
GES.TextOverlay
orNone
if something went wrong.- Return type:
Creates a new
GES.TextOverlay
.Deprecated since version 1.18: This should never be called by applications as this will be created by clips.
- get_halignment()[source]¶
- Returns:
The horizontal aligment used by source.
- Return type:
Get the horizontal aligment used by source.
- get_valignment()[source]¶
- Returns:
The vertical aligment used by source.
- Return type:
Get the vertical aligment used by source.
- get_xpos()[source]¶
- Returns:
The horizontal position used by source.
- Return type:
Get the horizontal position used by source.
- get_ypos()[source]¶
- Returns:
The vertical position used by source.
- Return type:
Get the vertical position used by source.
- set_color(color)[source]¶
- Parameters:
color (
int
) – The color self is being set to
Sets the color of the text.
- set_font_desc(font_desc)[source]¶
-
Sets the pango font description of the text this track element will render.
- set_halignment(halign)[source]¶
- Parameters:
halign (
GES.TextHAlign
) – TheGES.TextHAlign
defining the horizontal alignment of the text render by self.
Sets the horizontal aligment of the text.
- set_valignment(valign)[source]¶
- Parameters:
valign (
GES.TextVAlign
) – TheGES.TextVAlign
defining the vertical alignment of the text render by self.
Sets the vertical aligment of the text.