TiledObject
Extends: roAssociativeArray
One placed object from an object layer. x/y are Tiled pixel coordinates (+y down): the top-left of a rectangle/ellipse/text, the position of a point, the origin of a polygon/polyline's points, and the BOTTOM-left of a tile object.
Properties
id(integer)name(string)type(string)shape(string) — "rectangle", "point", "ellipse", "polygon", "polyline", "tile" or "text"x(float)y(float)width(float)height(float)rotation(float) — Degrees clockwisevisible(boolean)points(roArray) — polygon/polyline only: points relative to x/y, as {x, y} AAsgid(dynamic) — tile objects only: the raw GID, flip flags included (see resolveGid()); 0 otherwiseproperties(roAssociativeArray)