Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.FillPolygon Method

Fills a polygon with the specified fill style.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

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

Parameters

Name Description
AFill The fill style to apply.
APolygon The array of points defining the polygon vertices.