Table of Contents

TTMSFNCMapsCustomPolygon Class

Defines shared fill styling for polygon-like map elements.

API unit family: TMSFNCMaps Inherits from: TTMSFNCMapsPolyElement

Syntax

TTMSFNCMapsCustomPolygon = class(TTMSFNCMapsPolyElement)

Properties

Name Description
DataBoolean Custom application data associated with the item. (inherited from TTMSFNCMapsPolyElement)
DataInteger Custom application data associated with the item. (inherited from TTMSFNCMapsPolyElement)
DataObject Custom application data associated with the item. (inherited from TTMSFNCMapsPolyElement)
DataPointer Custom application data associated with the item. (inherited from TTMSFNCMapsPolyElement)
DataString Custom application data associated with the item. (inherited from TTMSFNCMapsPolyElement)
FillColor Fill Color used when rendering the element.
FillOpacity Fill Opacity applied to the rendered element.
ID Unique identifier assigned to the map element. (inherited from TTMSFNCMapsPolyElement)
Recreate Specifies whether the item must be recreated on the next map update. Set to True to recreate it. (inherited from TTMSFNCMapsPolyElement)
StrokeColor Stroke Color used when rendering the element. (inherited from TTMSFNCMapsPolyElement)
StrokeOpacity Stroke Opacity applied to the rendered element. (inherited from TTMSFNCMapsPolyElement)
StrokeWidth Stroke Width value. (inherited from TTMSFNCMapsPolyElement)
Visible Specifies whether the item is displayed on the map. (inherited from TTMSFNCMapsPolyElement)

Methods

Name Description
Area Calculates the area of the element in square meters. (inherited from TTMSFNCMapsPolyElement)
ContainsPoint Returns whether the coordinate lies inside the element. (inherited from TTMSFNCMapsPolyElement)