Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.FillRect Method

Fills a rectangle with the specified fill style.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

FMX.TMSFNCGraphics.General.hppPascalC++
procedure FillRect(AFill: TTMSFNCGraphicsFill; ARect: TRectF; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;
virtual void __fastcall FillRect(TTMSFNCGraphicsFill* AFill, const System::Types::TRectF &ARect, TTMSFNCGraphicsModifyRectMode AModifyRectMode = (TTMSFNCGraphicsModifyRectMode)(0x2));

Parameters

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