Table of Contents

TTMSFNCGraphicsContextGeneral.FillRect Method

Fills a rectangle with the specified fill style.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

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

Parameters

Name Description
AFill The fill style to apply.
ARect The rectangle to fill.
AModifyRectMode Controls pixel-boundary adjustments applied to the rectangle.