phaser - v4.0.0-rc.4
    Preparing search index...
    type ImageFrameConfig = {
        endFrame?: number;
        frameHeight?: number;
        frameWidth: number;
        margin?: number;
        spacing?: number;
        startFrame?: number;
    }
    Index

    Properties

    endFrame?: number

    The frame to stop parsing at. If not provided it will calculate the value based on the image and frame dimensions.

    frameHeight?: number

    The height of the frame in pixels. Uses the frameWidth value if not provided.

    frameWidth: number

    The width of the frame in pixels.

    margin?: number

    The margin in the image. This is the space around the edge of the frames.

    spacing?: number

    The spacing between each frame in the image.

    startFrame?: number

    The first frame to start parsing from.