Skip to main content
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

FMX.TMSFNCGraphics.General.hppPascalC++
procedure DrawPolygon(AStroke: TTMSFNCGraphicsStroke; APolygon: TTMSFNCGraphicsPathPolygon); override;
virtual void __fastcall DrawPolygon(TTMSFNCGraphicsStroke* AStroke, TTMSFNCGraphicsPathPolygon APolygon);

Parameters

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