Skip to main content
Table of Contents

TTMSFNCGraphicsContext.FillPath Method

Fills a graphics path using AFill settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

FMX.TMSFNCGraphics.hppPascalC++
procedure FillPath(AFill: TTMSFNCGraphicsFill; APath: TTMSFNCGraphicsPath; APathMode: TTMSFNCGraphicsPathDrawMode = pdmPolygon); virtual; abstract;
virtual void __fastcall FillPath(TTMSFNCGraphicsFill* AFill, TTMSFNCGraphicsPath* APath, TTMSFNCGraphicsPathDrawMode APathMode = (TTMSFNCGraphicsPathDrawMode)(0x0)) = 0;

Parameters

Name Description
AFill Fill settings (color, kind, gradient) to apply.
APath Path to fill.
APathMode Rendering mode controlling whether the path is closed as a polygon or treated as an open region.