The text render extension draws a string to the screen. Strings can be wrapped on word boundaries and also rotated orthogonally. The following shows the effects of rotation on strings.
The text render extension uses many standard options but also includes:
- Text
The text string to display (string, optional)
- Font
The font to use (string, optional)
- Size
The point size of the string (number, optional)
- Underline
Specifies if the string show display an underline (1) or not display an underline (0 default).
- Overflow
Defines behaviour when text overflows available horizontal space. Options are do nothing ("none" default), wrap at word boundaries ("wrap"), wrap at character boundaries ("char") or end text with an ellipsis ("ellipsis").
- Align with render extension
Uses the next render extension on the control to align the text to a polygon or circle