Text Symbol
constructor()
Creates a text symbol with default values. The default values are:
TextSymbol.color, black
TextSymbol.size, 8.0
Since
200.1.0
constructor(text: String, color: Color, size: Float, horizontalAlignment: HorizontalAlignment, verticalAlignment: VerticalAlignment)
Creates a text symbol with the given size, text, and color along with the horizontal and vertical alignment relative to the mid-point of this symbol.
Since
200.1.0
Parameters
text
The text to be displayed.
color
The color of the text symbol.
size
The size of the text symbol.
horizontal Alignment
The horizontal alignment of the text.
vertical Alignment
The vertical alignment of the text.