Table of Contents

TTMSFNCHotSpotImage.AddPolygonHotSpot Method

Adds a polygon hotspot.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCHotSpotImage Inherited from: 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.