Skip to content

Font

Fonts can be loaded from .ttf files. The engine only supports ASCII characters.

Inheritance: * Asset


GetSize

Get the font size.

Sig: size = Font:GetSize() - Ret: integer size Font size


GetTexture

Get the font texture.

Sig: texture = Font:GetTexture() - Ret: Texture texture Font texture


IsBold

Check if the font is bold.

Sig: bold = Font:IsBold() - Ret: boolean bold Is font bold


IsItalic

Check if the font is italic.

Sig: italic = Font:IsItalic() - Ret: boolean italic Is font italic