Fields

wangsets:Array<TiledWangSet>

Array of TiledWangSets (since 1.1.5)

version:String

The JSON format version (previously a number, saved as string since 1.6)

type:String

"tileset" (for tileset files, since 1.0)

transparentcolor:String

Hex-formatted color ("#RRGGBB") (optional)

transformations:TiledTransformations

Allowed transformations (optional)

tilewidth:Int

Maximum width of tiles in this set

tiles:Array<TiledTile>

Array of TiledTile (optional)

tilerendersize:String

The size to use when rendering tiles from this tileset on a tile layer ("tile" (default) or "grid") (since 1.9)

tileheight:Int

Maximum height of tiles in this set

tiledversion:String

The Tiled version used to save the file

tilecount:Int

The number of tiles in this tileset

spacing:Int

Spacing between adjacent tiles in image (pixels)

source:String

The external file that contains this tilesets data

objectalignment:String

Alignment to use for tile objects ("unspecified" (default), "topleft", "top", "topright", "left", "center", "right", "bottomleft", "bottom" or "bottomright") (since 1.4)

name:String

Name given to this tileset

margin:Int

Buffer between image edge and first tile (pixels)

imagewidth:Int

Width of source image in pixels

imageheight:Int

Height of source image in pixels

image:String

Image used for tiles in this set

grid:TiledGrid

(optional)

firstgid:Int

GID corresponding to the first tile in the set

fillmode:String

The fill mode to use when rendering tiles from this tileset ("stretch" (default) or "preserve-aspect-fit") (since 1.9)

columns:Int

The number of tile columns in the tileset

backgroundcolor:String

Hex-formatted color ("#RRGGBB" or "#AARRGGBB") (optional)

_class:String

The class of the tileset (since 1.9, optional)