retrieveFont

Retrieves a font by its name and font style.

ExternalFont
retrieveFont

Parameters

fontName string

The name of the font to retrieve.

style FontStyle

The style of the font to retrieve.

Return Value

Type: ExternalFont

The retrieved font if found, null otherwise.

Meta