Interface EmbeddedTileset

Embedded tileset.

interface EmbeddedTileset {
    backgroundcolor?: string;
    class?: string;
    columns: number;
    fillmode?: FillMode;
    firstgid: number;
    grid?: Grid;
    image: string;
    imageheight: number;
    imagewidth: number;
    margin: number;
    name: string;
    objectalignment?: ObjectAlignment;
    properties?: AnyProperty[];
    spacing: number;
    tilecount: number;
    tileheight: number;
    tileoffset?: Point;
    tilerendersize?: TileRenderSize;
    tiles?: Tile[];
    tilewidth: number;
    transformations?: Transformation;
    transparentcolor?: string;
    wangsets?: WangSet[];
}

Hierarchy (view full)

Properties

backgroundcolor?: string

Optional background color.

class?: string

Optional class of the tileset.

columns: number

The number of tile columns.

fillmode?: FillMode

The fill mode to use when rendering tiles from this tileset. Default is STRETCH.

firstgid: number

GID corresponding to the first tile in the set.

grid?: Grid

Optional common grid settings for tiles in this tileset. Default is 32x32 Orthogonal.

image: string

The image used for tiles in this set.

imageheight: number

Height of the source image in pixels.

imagewidth: number

Width of the source image in pixels.

margin: number

Buffer between image edge and first tile in pixels.

name: string

Name given to this tileset.

objectalignment?: ObjectAlignment

Alignment to use for tile objects. Default is UNSPECIFIED.

properties?: AnyProperty[]

Array of custom properties.

spacing: number

Spacing between adjacent tiles in image (pixels).

tilecount: number

The number of tiles in this tileset.

tileheight: number

Maximum height of tiles in this set.

tileoffset?: Point

Optional tile drawing offset in pixels. Positive is right and down.

tilerendersize?: TileRenderSize

Optional size to use when rendering tiles from this tileset on a tile layer. Default is TILE.

tiles?: Tile[]

The tiles.

tilewidth: number

Maximum width of tiles in this set.

transformations?: Transformation

Optional allowed transformations.

transparentcolor?: string

Optional transparent color.

wangsets?: WangSet[]

Optional list of Wang sets.

Generated using TypeDoc