phaser - v4.0.0-rc.4
    Preparing search index...
    type RetroFontConfig = {
        chars: string;
        charsPerRow: number;
        height: number;
        image: string;
        lineSpacing: number;
        "offset.x": number;
        "offset.y": number;
        "spacing.x": number;
        "spacing.y": number;
        width: number;
    }
    Index

    Properties

    chars: string

    The characters used in the font set, in display order. You can use the TEXT_SET consts for common font set arrangements.

    charsPerRow: number

    The number of characters per row in the font set. If not given charsPerRow will be the image width / characterWidth.

    height: number

    The height of each character in the font set.

    image: string

    The key of the image containing the font.

    lineSpacing: number

    The amount of vertical space to add to the line height of the font.

    "offset.x": number

    If the font set doesn't start at the top left of the given image, specify the X coordinate offset here.

    "offset.y": number

    If the font set doesn't start at the top left of the given image, specify the Y coordinate offset here.

    "spacing.x": number

    If the characters in the font set have horizontal spacing between them set the required amount here.

    "spacing.y": number

    If the characters in the font set have vertical spacing between them set the required amount here.

    width: number

    The width of each character in the font set.