TilesetData.tileOffsetX

Find the pixel position of a tile within this tileset.

Throws if gid is out of range for this tileset.

struct TilesetData
int
tileOffsetX

Parameters

gid
Type: TiledGid

GID of tile. Does not need to be cleaned of flags.

Return Value

Type: int

space between left side of image and left side of tile (pixels)

Meta