Skip to main content
Table of Contents

TTMSFNCGraphicsContext.FillPolygon Method

Fills a closed polygon using AFill settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

FMX.TMSFNCGraphics.hppPascalC++
procedure FillPolygon(AFill: TTMSFNCGraphicsFill; APolygon: TTMSFNCGraphicsPathPolygon); virtual; abstract;
virtual void __fastcall FillPolygon(TTMSFNCGraphicsFill* AFill, TTMSFNCGraphicsPathPolygon APolygon) = 0;

Parameters

Name Description
AFill Fill settings (color, kind, gradient) to apply.
APolygon Array of floating-point vertices defining the polygon.