phaser - v4.0.0-rc.4
    Preparing search index...
    type TiledObject = {
        ellipse?: boolean;
        flippedAntiDiagonal?: boolean;
        flippedHorizontal?: boolean;
        flippedVertical?: boolean;
        gid?: number;
        height?: number;
        id: number;
        name: string;
        point?: boolean;
        polygon?: Vector2Like[];
        polyline?: Vector2Like[];
        properties?: any;
        rectangle?: boolean;
        rotation?: number;
        text?: any;
        type: string;
        visible?: boolean;
        width?: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    ellipse?: boolean

    Only set, and set to true, if a ellipse object.

    flippedAntiDiagonal?: boolean

    Only set if a tile object. The diagonal flip value.

    flippedHorizontal?: boolean

    Only set if a tile object. The horizontal flip value.

    flippedVertical?: boolean

    Only set if a tile object. The vertical flip value.

    gid?: number

    Only set if of type 'tile'.

    height?: number

    The height of this object, in pixels.

    id: number

    The unique object ID.

    name: string

    The name this object was assigned in Tiled.

    point?: boolean

    Only set, and set to true, if a point object.

    polygon?: Vector2Like[]

    Only set if a polygon object. An array of objects corresponding to points, where each point has an x property and a y property.

    polyline?: Vector2Like[]

    Only set if a polyline object. An array of objects corresponding to points, where each point has an x property and a y property.

    properties?: any

    Custom properties object.

    rectangle?: boolean

    Only set, and set to true, if a rectangle object.

    rotation?: number

    The rotation of the object in clockwise degrees.

    text?: any

    Only set if a text object. Contains the text objects properties.

    type: string

    The string type of this instance, as assigned in Tiled. Tiled supports inheriting instance types from tilesets; in that case, the type will be set in the tile's data, but will be '' here; use the gid to fetch the tile data or properties.

    visible?: boolean

    The visible state of this object.

    width?: number

    The width of this object, in pixels.

    x?: number

    The horizontal position of this object, in pixels, relative to the tilemap.

    y?: number

    The vertical position of this object, in pixels, relative to the tilemap.