Class FontManager

Manages the creation of a Signed Distance Field (SDF) font atlas, and performs text layout to generate attributes for rendering text using the atlas.

Hierarchy

  • EventDispatcher<{
        atlasChange: object;
    }>
    • FontManager

Constructors

Properties

Methods

Constructors

Properties

atlasData: AtlasData = ...
options: FontManagerOptions = {}

Methods

  • Parameters

    • newChars: string

    Returns void