Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods

TFMXCanvasHelper.Draw(Single,Single,TBitmap,Single) Method

Scroll Prev Top Next More

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).

noteNote

Unlike the VCL Draw method which uses TGraphic, the FMX Draw method can only draw TBitmap.

alert_noteTip

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

Parameters

X

Type: Single

Y

Type: Single

Bitmap

Type: TBitmap

Opacity

Type: Single

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb