Table of Contents

TTMSFNCImage.Draw Method

Renders the bitmap inside the specified rectangle according to the current Stretch, Center, AspectRatio, Cropping, and margin settings.

API unit family: TMSFNCImage Declaring type: TTMSFNCImage Inherited from: TTMSFNCCustomImage

Syntax

procedure Draw(AGraphics: TTMSFNCGraphics; ARect: TRectF); override;

Parameters

Name Description
AGraphics Graphics context to draw on.
ARect Bounding rectangle available for drawing the image.