Vcl.Imaging.GIFImg.TGIFFrame.Draw

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Draw(ACanvas: TCanvas; const Rect: TRect;
DoTransparent, DoTile: boolean);

C++

void __fastcall Draw(Vcl::Graphics::TCanvas* ACanvas, const System::Types::TRect &Rect, bool DoTransparent, bool DoTile);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFFrame

Description

Draws the GIF frame in the rectangle specified by the Rect parameter.

Call Draw to draw a GIF frame on the canvas so that the image fits in the specified rectangle. If the DoTile parameter is True, the rectangle keeps its original size. Otherwise, the rectangle is scaled using the ScaleRect method.

See Also