| GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
"font-desc" gchar* : Write "halignment" GstTextRenderHAlign : Read / Write "line-alignment" GstTextRenderLineAlign : Read / Write "valignment" GstTextRenderVAlign : Read / Write "xpad" gint : Read / Write "ypad" gint : Read / Write
This plugin renders text received on the text sink pad to a video buffer (retaining the alpha channel), so it can later be overlayed on top of video streams using other elements.
The text can contain newline characters. (FIXME: What about text wrapping? It does not make sense in this context)
"font-desc" property"font-desc" gchar* : Write
Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax.
Default value: ""
"halignment" property "halignment" GstTextRenderHAlign : Read / Write
Horizontal alignment of the text.
Default value: center
"line-alignment" property "line-alignment" GstTextRenderLineAlign : Read / Write
Alignment of text lines relative to each other.
Default value: center
"valignment" property "valignment" GstTextRenderVAlign : Read / Write
Vertical alignment of the text.
Default value: baseline
"xpad" property"xpad" gint : Read / Write
Horizontal paddding when using left/right alignment.
Allowed values: >= 0
Default value: 25
"ypad" property"ypad" gint : Read / Write
Vertical padding when using top/bottom alignment.
Allowed values: >= 0
Default value: 25