GES.TextOverlayClip¶
- Subclasses:
None
Methods¶
- Inherited:
GES.Clip (23), GES.Container (6), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The color of the text |
||
r/w/c |
Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax. |
||
r/w/c |
Horizontal alignment of the text |
||
r/w/c |
The text to display |
||
r/w/c |
Vertical alignment of the text |
||
r/w/c |
The horizontal position |
||
r/w/c |
The vertical position |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GES.TextOverlayClip(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Renders text onto the next lower priority stream using textrender.
- classmethod new()[source]¶
- Returns:
The newly created
GES.TextOverlayClip
, orNone
if there was an error.- Return type:
Creates a new
GES.TextOverlayClip
- get_halignment()[source]¶
- Returns:
The horizontal aligment used by self.
- Return type:
Get the horizontal aligment used by self.
- get_valignment()[source]¶
- Returns:
The vertical aligment used by self.
- Return type:
Get the vertical aligment used by self.
- 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_halign(halign)[source]¶
- Parameters:
halign (
GES.TextHAlign
) –GES.TextHAlign
Sets the horizontal aligment of the text.
- set_valign(valign)[source]¶
- Parameters:
valign (
GES.TextVAlign
) –GES.TextVAlign
Sets the vertical aligment of the text.
Property Details¶
- GES.TextOverlayClip.props.color¶
-
The color of the text
- GES.TextOverlayClip.props.font_desc¶
-
Pango font description string
- GES.TextOverlayClip.props.halignment¶
- Name:
halignment
- Type:
- Default Value:
- Flags:
Horizontal alignment of the text
- GES.TextOverlayClip.props.text¶
-
The text to diplay
- GES.TextOverlayClip.props.valignment¶
- Name:
valignment
- Type:
- Default Value:
- Flags:
Vertical alignent of the text
- GES.TextOverlayClip.props.xpos¶
-
The horizontal position of the text