Skip to main content
Table of Contents

TTMSFNCGraphicsContextWin.FillPolygon Method

Fills a polygon with the specified fill style.

API unit family: TMSFNCGraphics.Win Declaring type: TTMSFNCGraphicsContextWin

Syntax

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