Description | Hierarchy | Fields | Methods | Properties |
type TAdSkin = class(TAdList)
A class that contains a set of skin items. Those skin items build the a skin that can be loaded from and stored to file, stream or xml.
![]() |
constructor Create(AParent:TAdDraw); |
![]() |
destructor Destroy; override; |
![]() |
procedure SaveToFile(AFile:string); |
![]() |
procedure LoadFromFile(AFile:string); |
![]() |
procedure SaveToStream(AStream:TStream); |
![]() |
procedure LoadFromStream(AStream:TStream); |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems):TAdSimpleXMLElem; |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); |
![]() |
function Add(Item:TAdSkinItem):integer; overload; |
![]() |
function Add(Name:string):integer; overload; |
![]() |
function IndexOf(Name:string):integer; overload; |
![]() |
property Items[Index:integer]: TAdSkinItem read GetItem write SetItem; |
![]() |
property ItemNamed[Index:string]: TAdSkinItem read GetNamedItem write SetNamedItem; |
![]() |
property Parent: TAdDraw read FParent; |
![]() |
constructor Create(AParent:TAdDraw); |
Creates an instance of TAdSkin. |
![]() |
destructor Destroy; override; |
Destroys the instance. |
![]() |
procedure SaveToFile(AFile:string); |
Saves the skin data to file. |
![]() |
procedure LoadFromFile(AFile:string); |
Loads the skin data from file. |
![]() |
procedure SaveToStream(AStream:TStream); |
Saves the skin data to a stream. |
![]() |
procedure LoadFromStream(AStream:TStream); |
Loads the skin data from a stream. |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems):TAdSimpleXMLElem; |
Saves the skin data to a xml node. |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); |
Loads the skin data from a xml node. |
![]() |
function Add(Item:TAdSkinItem):integer; overload; |
Adds an existing skin item to the skin and returns the position of this item in the list. |
![]() |
function Add(Name:string):integer; overload; |
Adds a new skin item to the skin and returns the position of this item in the list. |
![]() |
function IndexOf(Name:string):integer; overload; |
Returns the index of a skin item with a specific name. |
![]() |
property Items[Index:integer]: TAdSkinItem read GetItem write SetItem; |
Gives you access to the skin items in the skin by index. |
![]() |
property ItemNamed[Index:string]: TAdSkinItem read GetNamedItem write SetNamedItem; |
Gives you access to the skin items in the skin by name. |
![]() |
property Parent: TAdDraw read FParent; |
The parent TAdDraw that was set in the constructor. |