Class PAGFont

Hierarchy

Methods

  • Create PAGFont instance.

    Parameters

    • fontFamily: string
    • fontStyle: string

    Returns PAGFont

  • Register custom font family in the browser.

    Parameters

    • family: string
    • data: File

    Returns Promise<void>

  • Register fallback font names from pag.

    Parameters

    • fontNames: String[] = []

    Returns void

Constructors

Properties

wasmIns: any
isDestroyed: boolean = false
fontFamily: string
fontStyle: string

Generated using TypeDoc