RectangleObject
Defined in: tilemap/src/tiled/types.ts:97
Properties
Section titled “Properties”capsule?
Section titled “capsule?”
optionalcapsule?:false
Defined in: tilemap/src/tiled/types.ts:120
class?
Section titled “class?”
optionalclass?:string
Defined in: tilemap/src/tiled/types.ts:100
ellipse?
Section titled “ellipse?”
optionalellipse?:false
Defined in: tilemap/src/tiled/types.ts:119
optionalgid?:number
Defined in: tilemap/src/tiled/types.ts:115
Global tile ID, present only on an object that draws a tile. This is raw
Tiled data, so x/y is the anchor corner the tileset’s
objectalignment names — bottom-left by default. MapObject carries the
same object with its position normalised to the top-left corner. The flip
bits are kept — split them out with readTileGid.
height
Section titled “height”height:
number
Defined in: tilemap/src/tiled/types.ts:105
id:
number
Defined in: tilemap/src/tiled/types.ts:98
name:
string
Defined in: tilemap/src/tiled/types.ts:99
point?
Section titled “point?”
optionalpoint?:false
Defined in: tilemap/src/tiled/types.ts:116
polygon?
Section titled “polygon?”
optionalpolygon?:undefined
Defined in: tilemap/src/tiled/types.ts:117
polyline?
Section titled “polyline?”
optionalpolyline?:undefined
Defined in: tilemap/src/tiled/types.ts:118
properties?
Section titled “properties?”
optionalproperties?:TileObjectProperty[]
Defined in: tilemap/src/tiled/types.ts:121
rotation
Section titled “rotation”rotation:
number
Defined in: tilemap/src/tiled/types.ts:106
optionaltype?:string
Defined in: tilemap/src/tiled/types.ts:101
visible
Section titled “visible”visible:
boolean
Defined in: tilemap/src/tiled/types.ts:107
width:
number
Defined in: tilemap/src/tiled/types.ts:104
x:
number
Defined in: tilemap/src/tiled/types.ts:102
y:
number
Defined in: tilemap/src/tiled/types.ts:103