Interface Slice

A slice within the sprite.

interface Slice {
    color?: string;
    data?: string;
    keys: SliceKey[];
    name: string;
}

Properties

Properties

color?: string

Optional color with which the slice frame is displayed in Aseprite. Only present when color is not fully transparent.

data?: string

Optional custom data. Only present when string is not empty.

keys: SliceKey[]

The list of slice keys.

name: string

The slice name.

Generated using TypeDoc