Table of Contents

TTMSFNCGraphicsContext.FillRect Method

Fills a rectangle using AFill settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

procedure FillRect(AFill: TTMSFNCGraphicsFill; ARect: TRectF; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); virtual; abstract;

Parameters

Name Description
AFill Fill settings (color, kind, gradient) to apply.
ARect Rectangle to fill in floating-point pixels.
AModifyRectMode Pixel adjustment applied to the rectangle edges to align with the physical pixel grid.