Skip to main content
Table of Contents

TTMSFNCGraphicsContextWin.FillRect Method

Fills a rectangle with the specified fill style.

API unit family: TMSFNCGraphics.Win Declaring type: TTMSFNCGraphicsContextWin

Syntax

FMX.TMSFNCGraphics.Win.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.