Class TTiledMap.TImage

Unit

Declaration

type TImage = class(TObject)

Description

Image definition.

Hierarchy

Enclosing Class

Overview

Fields

Public Format: string;
Public URL: string;
Public Trans: TCastleColorRGB;
Public Width: Cardinal;
Public Height: Cardinal;
Public Data: TData;

Methods

Public destructor Destroy; override;
Public procedure DetermineSize;

Description

Fields

Public Format: string;

Used for embedded images, in combination with a data child element. Valid values are file extensions like png, gif, jpg, bmp, etc. (since 0.9)

Public URL: string;

The reference to the tileset image file (Tiled supports most common image formats).

Public Trans: TCastleColorRGB;

Defines a specific color that is treated as transparent.

Public Width: Cardinal;

The image width in pixels (optional, used for tile index correction when the image changes).

Public Height: Cardinal;

The image height in pixels (optional).

Public Data: TData;

Embedded image data (since 0.9).

Methods

Public destructor Destroy; override;
 
Public procedure DetermineSize;
 

Generated by PasDoc 0.16.0.