Description | Hierarchy | Fields | Methods | Properties |
type TAdCanvasObject = class(TObject)
An abstract class, which represents an object which can be present on the TAdCanvas surface.
![]() |
constructor Create(AAppl:TAd2DApplication); |
![]() |
destructor Destroy; override; |
![]() |
procedure Draw; virtual; abstract; |
![]() |
function CompareTo(AItem:TAdCanvasObject):TAdCanvasUpdateState; virtual; abstract; |
![]() |
procedure Update(AItem:TAdCanvasObject); virtual; abstract; |
![]() |
procedure Generate; virtual; abstract; |
![]() |
property Brush: TAdBrush read FBrush write FBrush; |
![]() |
property Pen: TAdPen read FPen write FPen; |
![]() |
property Matrix: TAdMatrix read FMatrix write SetMatrix; |
![]() |
constructor Create(AAppl:TAd2DApplication); |
Creates an instance of TAdCanvasObject. |
![]() |
destructor Destroy; override; |
Destroys the instance of TAdCanvasObject |
![]() |
procedure Draw; virtual; abstract; |
This procedure should be used to draw the canvas object. |
![]() |
function CompareTo(AItem:TAdCanvasObject):TAdCanvasUpdateState; virtual; abstract; |
This object is called to compare to canvas objects. See also
|
![]() |
procedure Update(AItem:TAdCanvasObject); virtual; abstract; |
When the "CompareTo" function returned "usUpdate", Update is called to transform this objects to the other objects state. |
![]() |
procedure Generate; virtual; abstract; |
Generates the canvas object, so that it can be drawn. |
![]() |
property Brush: TAdBrush read FBrush write FBrush; |
Contains the brush which was active in TAdCanvas when creating the object. |
![]() |
property Pen: TAdPen read FPen write FPen; |
Contains the pen which was active in TAdCanvas when creating the object. |
![]() |
property Matrix: TAdMatrix read FMatrix write SetMatrix; |
Use the matrix to transform the object in 3D space. |