loadFont

Loads a font from a specific file. Supports .ttf and .ttc file extensions.

Font
loadFont
(
string path
)

Parameters

path string

The path of the font file.

Return Value

Type: Font

The loaded font.

Meta