Table of Contents

TTMSFNCGraphicsContext.FillPolygon Method

Fills a closed polygon using AFill settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

procedure FillPolygon(AFill: TTMSFNCGraphicsFill; APolygon: TTMSFNCGraphicsPathPolygon); virtual; abstract;

Parameters

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