Interface BMFontInfo

This interface defines BMFontInfo.

BMFontInfo

interface BMFontInfo {
    aa: number;
    bold: number;
    charset: string[];
    face: string;
    fixedHeight: number;
    italic: number;
    outline: number;
    padding: number[];
    size: number;
    smooth: number;
    spacing: number[];
    stretchH: number;
    unicode: number;
}

Properties

aa: number

The supersampling level used. 1 means no supersampling was used.

BMFontInfo

bold: number

The font is bold.

BMFontInfo

charset: string[]

The name of the OEM charset used (when not unicode).

BMFontInfo

face: string

This is the name of the true type font.

BMFontInfo

fixedHeight: number

The fixed font height.

BMFontInfo

italic: number

The font is italic.

BMFontInfo

outline: number

The outline thickness for the characters.

BMFontInfo

padding: number[]

The padding for each character (up, right, down, left).

BMFontInfo

size: number

The size of the true type font.

BMFontInfo

smooth: number

Set to 1 if smoothing was turned on.

BMFontInfo

spacing: number[]

The spacing for each character (horizontal, vertical).

BMFontInfo

stretchH: number

The font height stretch in percentage. 100% means no stretch.

BMFontInfo

unicode: number

Set to 1 if it is the unicode charset.

BMFontInfo