TTFText

Implementation containing text drawable functions using a TTF font. Nice for static texts, slow for dynamic texts.

Constructors

this
this(TTFFont font)

Creates an empty ttf text

Members

Functions

redraw
void redraw()

Should get called automatically when something changed.

Properties

multiline
bool multiline [@property getter]

Returns if this text should be rendered multiline.

multiline
bool multiline [@property setter]

Sets if this text should be rendered multiline.

scale
float scale [@property getter]

Gets the scale in percent.

scale
float scale [@property setter]

Sets the scale in percent.

text
string text [@property getter]

Gets the text.

text
string text [@property setter]

Modifies the text.

Meta