Difference between revisions of "Text"
Jump to navigation
Jump to search
(→Syntax) |
|||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | (text[!<id>] <pos | + | (text[!<id>] <pos>; <text>; <css>) |
E.g. | E.g. | ||
− | (text!mytext r1c1 | + | (text!mytext r1c1; text; color:blue) |
== UI Attributes == | == UI Attributes == |
Revision as of 10:33, 14 February 2014
Shows a generic text.
Parameters
- id: the object's ID, used by UISets. Required
- position: the object's position. Use the pixels or rows and columns coordinates format
- text: the text. Can contain HTML tags
- css: optional, and defines the CSS style
Syntax
(text[!<id>] <pos>; <text>; <css>)
E.g.
(text!mytext r1c1; text; color:blue)
UI Attributes
Common attributes
Name | Value | Description |
---|---|---|
pos | x<x>y<y> | Position specified as x/y coordinates. E.g. x-5y10 |
visible | true | Default. Show the object |
false | Hide the object | |
blink | true | slow | Blink the object at a slow speed |
fast | Blink the object at a fast speed | |
false | Stop the blinking | |
opacity | 0.0 ... 1.0 | Object opacity from 0 (not visible) to 1 (fully visible) |
rotation | 0 ... 360 | Object rotation in degrees. Images are rotated around the center point, all other objects are rotated around the top left corner |
Text attributes
Name | Value | Description |
---|---|---|
text | string | Set the text |