Skip to content

Class: FontAsset

FontAsset represents a loaded and rendered font asset.

Table of contents

Constructors

Properties

Constructors

constructor

+ new FontAsset(name: string, request: FontRequest): FontAsset

Parameters:

Name Type
name string
request FontRequest

Returns: FontAsset

Properties

name

name: string

Name of the asset


request

request: FontRequest

Request that created the asset


MESSAGE_FINISH_LOAD

Readonly Static MESSAGE_FINISH_LOAD: finish_font_load= "finish_font_load"

Message when a font asset is finished loading.