Table of Contents

TTMSFNCGraphicsContextWEB.DrawBitmap Method

Draws a bitmap image onto the canvas at the specified destination rectangle.

API unit family: TMSFNCGraphics.WEB Declaring type: TTMSFNCGraphicsContextWEB

Syntax

procedure DrawBitmap(ABitmap: TTMSFNCDrawBitmap; ASrcRect, ADstRect: TRectF; AOpacity: Single); override;

Parameters

Name Description
ABitmap The bitmap to draw.
ASrcRect The source region of the bitmap to copy.
ADstRect The destination rectangle on the canvas.
AOpacity Opacity value between 0.0 (transparent) and 1.0 (fully opaque).