Adds basic text. This tag supports Rich Text as shown in the example below.
Attribute Name
Description
Type / Options
Default Value
text
This can be used to determine the text that appears. It can also be modified externally by the script.
string
(none)
alignment
UpperLeft
UpperCenter
UpperRight
MiddleLeft
MiddleCenter
MiddleRight
LowerLeft
LowerCenter
LowerRight
MiddleCenter
color
#323232
fontStyle
Normal
Bold
Italic
BoldItalic
Normal
fontSize
float
14
resizeTextForBestFit
Resize text to fit?
false
resizeTextMinSize
Minimum font size
float
10
resizeTextMaxSize
Maximum font size
float
40
horizontalOverflow
Wrap
Overflow
Overflow
verticalOverflow
Truncate
Overflow
Truncate
Example:
<!-- Standard Text element --><Text>Some Text</Text><!-- Rich Text --><Text>
This text is <b>Bold</b>, <i>Italic</i>,
and <textcolorcolor="#00FF00">Green</textcolor>.
This text is <textsizesize="18">Larger</textsize>.
</Text>