Interface Meta

Sprite sheet meta data.

interface Meta {
    app: string;
    format: Format;
    frameTags?: FrameTag[];
    image: string;
    layers?: Layer[];
    scale: string;
    size: Size;
    slices?: Slice[];
    version: string;
}

Properties

app: string

The application which produced the sprite sheet (Usually http://www.aseprite.org/).

format: Format

The pixel format of the sprite sheet image file.

frameTags?: FrameTag[]

List of tags. Only present when tags export is enabled in Aseprite.

image: string

Relative path to the sprite sheet image file.

layers?: Layer[]

List of layers. Only present when layers export is enabled in Aseprite.

scale: string

The scale. Usually always 1. It is a string instead of a number, most likely to be compatible to whatever application used this kind of sprite sheet JSON format first (TexturePacker?).

size: Size

The pixel size of the sprite sheet image file.

slices?: Slice[]

List of slices. Only present when slices export is enabled in Aseprite.

version: string

The version of the application which produced the sprite sheet.

Generated using TypeDoc