Vcl.Direct2D.TDirect2DCanvas.Draw

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

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

Description

Renders the graphic specified by the Graphic parameter on the canvas at the location given by the coordinates (X, Y).

Call Draw to draw a graphic on the canvas. Draw calls the Draw method of the graphic. The image is rendered into a rectangle determined by the size of the graphic, with the upper-left corner at the point (X, Y).

See Also