561
edits
(→STX Syntax Keys: add documentation for "text_color".) |
(→<text>: Update "text" draw step documentation.) |
||
Line 410: | Line 410: | ||
Parent: <tt><drawdata></tt><br /> | Parent: <tt><drawdata></tt><br /> | ||
Children: -<br /> | Children: -<br /> | ||
Properties: <tt>font</tt> (''required''), <tt>vertical_align</tt> (''required''), <tt>horizontal_align</tt> (''required'') | Properties: <tt>font</tt> (''required''), <tt>text_color</tt> (''required''), <tt>vertical_align</tt> (''required''), <tt>horizontal_align</tt> (''required'') | ||
===== Example ===== | ===== Example ===== | ||
Line 416: | Line 416: | ||
<syntax type="xml"> | <syntax type="xml"> | ||
<text font = 'text_button' | <text font = 'text_button' | ||
text_color = 'color_button' | |||
vertical_align = 'center' | vertical_align = 'center' | ||
horizontal_align = 'center' | horizontal_align = 'center' | ||
Line 441: | Line 442: | ||
* <tt>font [string]</tt>: Font identifier from a previously created <tt>font</tt> key. This font will be used to draw the text. | * <tt>font [string]</tt>: Font identifier from a previously created <tt>font</tt> key. This font will be used to draw the text. | ||
* <tt>text_color [string]</tt>: Color to use. This entry has to match a identifier defined via the <tt>text_color</tt> key. | |||
* <tt>vertical_alignment [string]</tt>: Vertical (Y axis) alignment of the text. Possible values: | * <tt>vertical_alignment [string]</tt>: Vertical (Y axis) alignment of the text. Possible values: | ||
** <tt>top</tt> | ** <tt>top</tt> |
edits