Table of Contents

TTMSFNCCustomHotSpotImage.AddPolygonHotSpot Method

Adds a polygon hotspot.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCCustomHotSpotImage

Syntax

function AddPolygonHotSpot(APolygon: TTMSFNCGraphicsPathPolygon; AName: string = ''; AAppearance: TTMSFNCHotSpotAppearance = nil): TTMSFNCHotSpot; virtual;

Parameters

Name Description
APolygon Polygon that defines the hotspot shape.
AName Optional hotspot name.
AAppearance Optional appearance copied to the hotspot.

Returns

The newly created hotspot.