phaser - v4.0.0-rc.4
    Preparing search index...

    The font data for an individual character of a Bitmap Font.

    Describes the character's position, size, offset and kerning.

    As of version 3.50 it also includes the WebGL texture uv data.

    type BitmapFontCharacterData = {
        centerX: number;
        centerY: number;
        data: object;
        height: number;
        kerning: { [key: string]: number };
        u0: number;
        u1: number;
        v0: number;
        v1: number;
        width: number;
        x: number;
        xOffset: number;
        y: number;
        yOffset: number;
    }
    Index

    Properties

    centerX: number

    The center x position of the character.

    centerY: number

    The center y position of the character.

    data: object

    Extra data for the character.

    height: number

    The height of the character.

    kerning: { [key: string]: number }

    Kerning values, keyed by character code.

    u0: number

    WebGL texture u0.

    u1: number

    WebGL texture u1.

    v0: number

    WebGL texture v0.

    v1: number

    WebGL texture v1.

    width: number

    The width of the character.

    x: number

    The x position of the character.

    xOffset: number

    The x offset of the character.

    y: number

    The y position of the character.

    yOffset: number

    The y offset of the character.