Interface BMFontChar

This interface defines BMFontChar.

BMFontChar

interface BMFontChar {
    char: string;
    chnl: number;
    height: number;
    id: number;
    index: number;
    page: number;
    width: number;
    x: number;
    xadvance: number;
    xoffset: number;
    y: number;
    yoffset: number;
}

Properties

char: string

The character string.

BMFontChar

chnl: number

The texture channel where the character image is found (1 = blue, 2 = green, 4 = red, 8 = alpha, 15 = all channels).

BMFontChar

height: number

The height of the character image in the texture.

BMFontChar

id: number

The character id.

BMFontChar

index: number

The character index.

BMFontChar

page: number

The number of texture pages included in the font.

BMFontChar

width: number

The width of the character image in the texture.

BMFontChar

x: number

The left position of the character image in the texture.

BMFontChar

xadvance: number

How much the current position should be advanced after drawing the character.

BMFontChar

xoffset: number

How much the current position should be offset when copying the image from the texture to the screen.

BMFontChar

y: number

The top position of the character image in the texture.

BMFontChar

yoffset: number

How much the current position should be offset when copying the image from the texture to the screen.

BMFontChar