Vcl.Graphics.TGraphic.Draw
Delphi
procedure Draw(ACanvas: TCanvas; const Rect: TRect); virtual; abstract;
C++
virtual void __fastcall Draw(TCanvas* ACanvas, const System::Types::TRect &Rect) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TGraphic |
Description
Render graphic onto canvas at rectangle.
TCanvas.Draw calls this function to render the graphic onto its canvas at the coordinates specified by the Rect parameter. Descendants of TGraphic should override this function with a specific rendering implementation.