Class TCastleTiledMapData.TImage

Unit

Declaration

type TImage = class(TObject)

Description

Image definition.

Hierarchy

  • TObject
  • TCastleTiledMapData.TImage

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;

This item has no description.

Public procedure DetermineSize;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.