Text

Constructors

new

Text

(content: string, pos: TextPosition, style: TTextStyle)

Creates a new instance of the Text object


Properties

pos

:

Readonly<TTextStyle>

get

Gets the position of the Text object

style

:

TextStyle

get

Gets the style of the Text object


Methods

draw

(suface: Surface) ⇨ void

Draws the text on a suface