Home

TextSprite

Rendered TTF text

Derived from: Sprite

Operations

IsOk

Initialization status flag

method : public : IsOk() ~ Bool
Return
TypeDescription
Booltrue if initialized, false otherwise

Render

Renders an image

method : public : Render(x:Int, y:Int) ~ Nil
Parameters
NameTypeDescription
xIntx-position
yInty-position

SetFont

Sets the text font

method : public : SetFont(font:Font) ~ Nil
Parameters
NameTypeDescription
fontFontTTF