Text Visual
fun TextVisual( text: String, font: Font = Font(), alignment: Alignment = Alignment.CENTER, offsetX: Number = 0, offsetY: Number = 0)
Content copied to clipboard
Creates a TextVisual with given text.
Parameters
text
Text to display.
alignment
Alignment for the text. Default: Alignment.CENTER.
offset X
The horizontal offset of the text from its anchorpoint. Default: 0.
offset Y
The vertical offset of the text from its anchorpoint. Default: 0.