Description | Hierarchy | Fields | Methods | Properties |
type TAdImage = class(TAdCustomImage)
A image class that contains a bitmap texture. The TAdImageList contains a set of TAdImages.
![]() |
FreeByList:TAdImageList; |
![]() |
constructor Create(AAdDraw:TAdDraw); override; |
![]() |
procedure Assign(AItem:TAdImage); |
![]() |
procedure SaveToStream(AStream:TStream); |
![]() |
procedure LoadFromStream(AStream:TStream); |
![]() |
procedure SaveToFile(AFile:string); |
![]() |
procedure LoadFromFile(AFile:string); |
![]() |
property Name: AnsiString read FName write FName; |
![]() |
property Texture: TAdTexture read GetTexture write SetTexture; |
![]() |
FreeByList:TAdImageList; |
Contains a pointer to the image list which created the image. Set to nil if you don't want the image to be freed by the ImageList. |
![]() |
constructor Create(AAdDraw:TAdDraw); override; |
![]() |
procedure Assign(AItem:TAdImage); |
Assings the settings of another item. |
![]() |
procedure SaveToStream(AStream:TStream); |
Saves the image and all settings to a stream. |
![]() |
procedure LoadFromStream(AStream:TStream); |
Loads the image and all settings from a stream. |
![]() |
procedure SaveToFile(AFile:string); |
Saves the image data to a file. This function save the data in a Andorra 2D internal file format. |
![]() |
procedure LoadFromFile(AFile:string); |
Loads the image data from a file. This function save the data in a Andorra 2D internal file format. |
![]() |
property Name: AnsiString read FName write FName; |
Name of the image in the imagelist. The find procedure of the imagelist uses this property. |
![]() |
property Texture: TAdTexture read GetTexture write SetTexture; |
Access to the texture abstraction layer. |