Table of Contents

TTMSFNCGraphicsContextWin.DrawPolygon Method

Draws the outline of a polygon using the specified stroke style.

API unit family: TMSFNCGraphics.Win Declaring type: TTMSFNCGraphicsContextWin

Syntax

procedure DrawPolygon(AStroke: TTMSFNCGraphicsStroke; APolygon: TTMSFNCGraphicsPathPolygon); override;

Parameters

Name Description
AStroke The stroke style to apply.
APolygon The array of points defining the polygon vertices.