Text Visual
open class TextVisual( text: String, font: Font = Font(), alignment: Alignment = Alignment.CENTER, offsetX: Number = 0, offsetY: Number = 0) : SingleLayerVisual
Content copied to clipboard
A visual displaying text.
Parameters
Constructors
Link copied to clipboard
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.
Functions
Link copied to clipboard
Adds a listener silently.
Link copied to clipboard
Adds a listener and calls Observer.update on this new listener.
Link copied to clipboard
Removes all listeners.
Link copied to clipboard
Copies this TextVisual to a new object.
Link copied to clipboard
Notifies all listeners by calling Observer.update.
Link copied to clipboard
Removes a listener.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Property for backgroundRadius.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Property for borderRadius.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The transparency / alpha channel for this Visual.
Link copied to clipboard
Property for the transparency / alpha channel for this Visual.