skia
    Preparing search index...

    Interface FontMgr

    See SkFontMgr.h for more details

    interface FontMgr {
        _type: "FontMgr";
        countFamilies(): number;
        delete(): void;
        deleteLater(): void;
        getFamilyName(index: number): string;
        isAliasOf(other: any): boolean;
        isDeleted(): boolean;
        matchFamilyStyle(name: string, style: FontStyle): Typeface;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _type: "FontMgr"

    Methods

    • Return the number of font families loaded in this manager. Useful for debugging.

      Returns number

    • Return the nth family name. Useful for debugging.

      Parameters

      • index: number

      Returns string