Vcl.Imaging.GIFImg.TCustomGIFRenderer.Draw
Delphi
procedure Draw(ACanvas: TCanvas; const Rect: TRect); virtual; // Draw current state
C++
virtual void __fastcall Draw(Vcl::Graphics::TCanvas* ACanvas, const System::Types::TRect &Rect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TCustomGIFRenderer |
Description
Draws the current GIF frame on the specified canvas.
Call Draw to draw the current GIF frame on the canvas specified through ACanvas and using the bounding rectangle given by Rect.
A call to Draw sets TargetCanvas to the value of ACanvas and also sets TargetRect to the value of Rect.