Skip to main content
Table of Contents

TTMSFNCBitmap.Draw Method

Draws the bitmap onto the specified canvas within the given rectangle.

API unit family: TMSFNCTypes Declaring type: TTMSFNCBitmap

Syntax

FMX.TMSFNCTypes.hppPascalC++
procedure Draw(ACanvas: TCanvas; const Rect: TRectF); virtual;
virtual void __fastcall Draw(Fmx::Graphics::TCanvas* ACanvas, const System::Types::TRectF &Rect);

Parameters

Name Description
ACanvas The canvas on which to draw the bitmap.
Rect The destination rectangle in canvas coordinates.