[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'DrawnControl' (#HMI)

TDrawing

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

drawing class, usually containing objects of TElement descendants, that is drawn on a control's canvas

Declaration

Source position: drawncontrol.pas line 141

type TDrawing = class(TElement) end;

protected

  function AddElement();

  procedure Draw; override;

  procedure Shift(); override;

  procedure Rotate(); override;

  procedure Resize; override;

  procedure Zoom(); override;

  property ElementCount: Integer; [r]

  property ElementList: TFpList; [r]

  property Elements []: TElement; [r]

public

  destructor Destroy; override;

Inheritance

TDrawing

  

drawing class, usually containing objects of TElement descendants, that is drawn on a control's canvas

|

TElement

  

base class for elements, that can be added to a TDrawing object

|

TComponent

?

TObject

Description

TDrawing or a descendant is used to draw a graphical image for a control at runtime and context sensitive (not necessarily static). Because such drawing is not dependent on a special graphical resolution (like raster graphic images), large images don't require large memory, and small images can be stretched without a loss of quality (resolution).