retrieveFont

Retrieves a font by its name and font style.

Font
retrieveFont

Parameters

fontName string

The name of the font to retrieve.

style FontStyle

The style of the font to retrieve.

Return Value

Type: Font

The retrieved font if found, null otherwise.

Meta