LoadFont

Category: Images and Rendering

Back to System Functions


Signature

LoadFont(fontPath As String, fontSize As Integer)

Returns

Integer

Description

Loads a font file and returns a font handle that can be used with DrawText.

Example

uiFont = LoadFont("fonts/ui.ttf", 24)