Vcl.Imaging.GIFImg.TGIFFrame.Draw
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);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFFrame |
Beschreibung
Zeichnet den GIF-Frame in dem vom Rect-Parameter angegebenen Rechteck.
Rufen Sie Draw auf, um einen GIF-Frame so auf der Zeichenfläche zu zeichnen, dass das Bild genau in das angegebene Rechteck passt. Wenn der DoTile-Parameter True ist, bleibt die Originalgröße des Rechtecks ungeändert. Andernfalls wird das Rechteck mithilfe der ScaleRect-Methode skaliert.