Skip to main content
Table of Contents

TTMSFNCHotSpotImage.AddRectangleHotSpot Method

Adds a rectangular hotspot.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCHotSpotImage Inherited from: TTMSFNCCustomHotSpotImage

Syntax

FMX.TMSFNCHotSpotImage.hppPascalC++
function AddRectangleHotSpot(ARect: TRectF; AName: string = ''; AAppearance: TTMSFNCHotSpotAppearance = nil): TTMSFNCHotSpot; virtual;
virtual TTMSFNCHotSpot* __fastcall AddRectangleHotSpot(const System::Types::TRectF &ARect, System::UnicodeString AName = System::UnicodeString(), TTMSFNCHotSpotAppearance* AAppearance = (TTMSFNCHotSpotAppearance*)(0x0));

Parameters

Name Description
ARect Rectangle that defines the hotspot bounds.
AName Optional hotspot name.
AAppearance Optional appearance copied to the hotspot.

Returns

The newly created hotspot.