Interface TiledObject

interface TiledObject {
    gid: number;
    height: number;
    id: number;
    name: string;
    polygon?: {
        x: number;
        y: number;
    }[];
    polyline?: {
        x: number;
        y: number;
    }[];
    properties?: TiledProperty[];
    rotation: number;
    type: string;
    visible: true;
    width: number;
    x: number;
    y: number;
}

Properties

gid: number
height: number
id: number
name: string
polygon?: {
    x: number;
    y: number;
}[]
polyline?: {
    x: number;
    y: number;
}[]
properties?: TiledProperty[]
rotation: number
type: string
visible: true
width: number
x: number
y: number