Class BitmapFont

ラスタ画像によるフォント。

Hierarchy

Constructors

Properties

defaultGlyphHeight: number
defaultGlyphWidth: number
map: {
    [key: string]: GlyphArea;
}

Type declaration

missingGlyph: undefined | GlyphArea
size: number

フォントサイズ。

この値は参照のためにのみ公開されている。ゲーム開発者はこの値を変更すべきではない。

surface: Surface

Methods

  • 利用している Surface を破棄した上で、このフォントを破棄する。

    Returns void

  • コードポイントに対応するグリフを返す。

    Parameters

    • code: number

      コードポイント

    Returns null | Glyph

Generated using TypeDoc