Skip to main content
Table of Contents

TTMSFNCCustomMaps.AddPolygon Method

Creates and returns polygon.

API unit family: TMSFNCMaps Declaring type: TTMSFNCCustomMaps

Syntax

FMX.TMSFNCMaps.hppPascalC++
function AddPolygon(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCMapsPolygon; virtual;
virtual TTMSFNCMapsPolygon* __fastcall AddPolygon(TTMSFNCMapsCoordinateRecArray ACoordinates, bool AClose = false);

Parameters

Name Description
ACoordinates Coordinate value used by the operation.
AClose Set to True to close the supplied coordinate path.

Returns

True when the operation succeeds or the condition is met; otherwise False.