Table of Contents

TTMSFNCGraphicsContext.DrawPolygon Method

Strokes a closed polygon using AStroke settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

procedure DrawPolygon(AStroke: TTMSFNCGraphicsStroke; APolygon: TTMSFNCGraphicsPathPolygon); virtual; abstract;

Parameters

Name Description
AStroke Stroke settings (color, width, kind) to apply.
APolygon Array of floating-point vertices defining the polygon.