Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IObjectBase

Hierarchy

Index

Properties

height

height: number

Height in pixels. Ignored if using a gid. (int)

id

id: number

Incremental id - unique across all objects (int)

name

name: string

String assigned to name field in editor

Optional properties

properties: IProperty[]

A list of properties (name, value, type)

rotation

rotation: number

Angle in degrees clockwise (float)

type

type: string

String assigned to type field in editor

Optional visible

visible: undefined | false | true

Whether object is shown in editor. Default: true

width

width: number

Width in pixels. Ignored if using a gid. (int)

x

x: number

x coordinate in pixels (int)

y

y: number

y coordinate in pixels (int)

Generated using TypeDoc