TextOptions

Text options.

Members

Variables

centerText
bool centerText;

Boolean determining whether to center the text in the given rectangle.

color
Color color;

The color of the text.

fontFile
string fontFile;

The font file to use if no font-name is specified.

fontName
string fontName;

The name of the font to use if no font-file is specified.

fontSize
float fontSize;

The font size.

rect
Rectangle rect;

The rectangle to confine the text within.

Meta