Akashic Engine
    Preparing search index...

    Class BitmapFont

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    defaultGlyphHeight: number
    defaultGlyphWidth: number
    map: { [key: string]: GlyphArea }
    missingGlyph: undefined | GlyphArea
    size: number

    フォントサイズ。

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

    surface: Surface

    Methods

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

      Returns void

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

      Parameters

      • code: number

        コードポイント

      Returns null | Glyph