Renders the graphic specified by the Bitmap parameter on the canvas at the location given by the coordinates (X, Y).
Call Draw to draw a graphic on the canvas. The image is rendered into a rectangle determined by the size of the graphic, with the upper left corner at the point (X, Y).
Note |
---|
Unlike the VCL Draw method which uses TGraphic, the FMX Draw method can only draw TBitmap. |
Tip |
---|
This FMX version of the method adds a default Opacity parameter at the end of the parameters. This allows you to take advantage of the FMX ability to draw transparently to the canvas. Alternatively, don't set this parameter and it works exactly like the VCL TCanvas method. |
Namespace: FMX.RS.CanvasHelper
Delphi |
public |
Parameters
X
Type: Integer
Y
Type: Integer
Bitmap
Type: TBitmap
Opacity
Type: Single