Table of Contents

TTMSFNCGraphicsContextGeneral.DrawPolygon Method

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

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

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.