TextSymbol

constructor()

Creates a text symbol with default values. The default values are:

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.

horizontalAlignment

The horizontal alignment of the text.

verticalAlignment

The vertical alignment of the text.