Vcl.Direct2D.TDirect2DCanvas.Draw

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure Draw(X, Y: Integer; Graphic: TGraphic); overload; override;
procedure Draw(X, Y: Integer; Graphic: TGraphic; Opacity: Byte); overload; override;

C++

virtual void __fastcall Draw(int X, int Y, Vcl::Graphics::TGraphic* Graphic)/* overload */;
virtual void __fastcall Draw(int X, int Y, Vcl::Graphics::TGraphic* Graphic, System::Byte Opacity)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DCanvas

Description

Restitue le graphique spécifié par le paramètre Graphic dans le canevas à l'emplacement spécifié par les coordonnées (X, Y).

Appelez Draw pour dessiner un graphique dans le canevas. Draw appelle la méthode Draw du graphique. L'image est restituée dans le rectangle délimité par la taille du graphique, son coin supérieur gauche étant placé en (X, Y).

Voir aussi