Class TTiledMap.TTiledObject

Unit

Declaration

type TTiledObject = class(TObject)

Description

Object definition.

Hierarchy

  • TObject
  • TTiledMap.TTiledObject

Enclosing Class

Overview

Fields

Public Id: Integer;
Public Name: string;
Public Type_: string;
Public X: Single;
Public Y: Single;
Public Width: Single;
Public Height: Single;
Public Rotation: Single;
Public GId: Integer;
Public Visible: Boolean;
Public Properties: TPropertyList;
Public Points: TVector2List;
Public Primitive: TTileObjectPrimitive;
Public Image: TImage;

Methods

Public constructor Create;
Public destructor Destroy; override;

Description

Fields

Public Id: Integer;

Unique ID of the object. Each object that is placed on a map gets a unique id. Even if an object was deleted, no object gets the same ID. Can not be changed in Tiled Qt. (since Tiled 0.11)

Public Name: string;

The name of the object. An arbitrary string.

Public Type_: string;

The type of the object. An arbitrary string.

Public X: Single;

The x coordinate of the object in pixels.

Public Y: Single;

The y coordinate of the object in pixels.

Public Width: Single;

The width of the object in pixels (defaults to 0).

Public Height: Single;

The height of the object in pixels (defaults to 0).

Public Rotation: Single;

The rotation of the object in degrees clockwise (defaults to 0). (since 0.10)

Public GId: Integer;

An reference to a tile (optional).

Public Visible: Boolean;

Whether the object is shown (1) or hidden (0). Defaults to 1. (since 0.9)

Public Properties: TPropertyList;
 
Public Points: TVector2List;

List of points for poligon and poliline.

Public Primitive: TTileObjectPrimitive;
 
Public Image: TImage;
 

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 

Generated by PasDoc 0.15.0.