Skip to main content
Table of Contents

TTMSFNCCustomHotSpotImage.AddPathHotSpot Method

Adds a hotspot from a graphics path.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCCustomHotSpotImage

Syntax

FMX.TMSFNCHotSpotImage.hppPascalC++
function AddPathHotSpot(APath: TTMSFNCGraphicsPath; AName: string = ''; AAppearance: TTMSFNCHotSpotAppearance = nil): TTMSFNCHotSpot; virtual;
virtual TTMSFNCHotSpot* __fastcall AddPathHotSpot(TTMSFNCGraphicsPath* APath, System::UnicodeString AName = System::UnicodeString(), TTMSFNCHotSpotAppearance* AAppearance = (TTMSFNCHotSpotAppearance*)(0x0));

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.