Skip to main content
Table of Contents

TTMSFNCMapKitPolygon.AddHole Method

Adds an inner ring that is cut out of the polygon shape.

API unit family: TMSFNCMapKit Declaring type: TTMSFNCMapKitPolygon

Syntax

FMX.TMSFNCMapKit.hppPascalC++
function AddHole(ACoordinates: TTMSFNCMapsCoordinateRecArray): TTMSFNCMapsPolyElementHole; override;
virtual TTMSFNCMapsPolyElementHole* __fastcall AddHole(TTMSFNCMapsCoordinateRecArray ACoordinates);

Parameters

Name Description
ACoordinates Coordinates that define the hole.

Returns

The created polygon hole item.