Table of Contents

TTMSFNCCustomHotSpotImage.AddPathHotSpot Method

Adds a hotspot from a graphics path.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCCustomHotSpotImage

Syntax

function AddPathHotSpot(APath: TTMSFNCGraphicsPath; AName: string = ''; AAppearance: TTMSFNCHotSpotAppearance = nil): TTMSFNCHotSpot; virtual;

Parameters

Name Description
APath Graphics path that defines the hotspot shape.
AName Optional hotspot name.
AAppearance Optional appearance copied to the hotspot.

Returns

The newly created hotspot.