Table of Contents

TTMSFNCHotSpotImage Class

Displays an image with interactive hotspots that can react to hover, press, and selection states.

API unit family: TMSFNCHotSpotImage Inherits from: TTMSFNCCustomHotSpotImage

Syntax

TTMSFNCHotSpotImage = class(TTMSFNCCustomHotSpotImage)

Properties

Name Description
DefaultHotSpotAppearance Gets or sets the default appearance applied to newly created hotspots. (inherited from TTMSFNCCustomHotSpotImage)
GlobalFont Gets or sets the global font settings applied to hotspot text. (inherited from TTMSFNCCustomHotSpotImage)
Height Gets or sets the control height. (inherited from TTMSFNCCustomHotSpotImage)
HotSpotNameLocation Gets or sets where hotspot names are drawn. (inherited from TTMSFNCCustomHotSpotImage)
HotSpots Gets or sets the collection of interactive hotspots on the image. (inherited from TTMSFNCCustomHotSpotImage)
HoverBitmap Gets or sets the bitmap drawn for hovered hotspots. (inherited from TTMSFNCCustomHotSpotImage)
MultiSelect Gets or sets whether multiple hotspots can be selected at the same time. (inherited from TTMSFNCCustomHotSpotImage)
SelectedBitmap Gets or sets the bitmap drawn for selected hotspots. (inherited from TTMSFNCCustomHotSpotImage)
SelectedHotSpot Gets or sets the index of the currently selected hotspot. (inherited from TTMSFNCCustomHotSpotImage)
Width Gets or sets the control width. (inherited from TTMSFNCCustomHotSpotImage)

Methods

Name Description
AddEllipseHotSpot Adds an elliptical hotspot. (inherited from TTMSFNCCustomHotSpotImage)
AddPathHotSpot Adds a hotspot from a graphics path. (inherited from TTMSFNCCustomHotSpotImage)
AddPolygonHotSpot Adds a polygon hotspot. (inherited from TTMSFNCCustomHotSpotImage)
AddRectangleHotSpot Adds a rectangular hotspot. (inherited from TTMSFNCCustomHotSpotImage)
Draw Draws the image and its hotspot overlays. (inherited from TTMSFNCCustomHotSpotImage)
Resize Updates hotspot geometry after the control size changes. (inherited from TTMSFNCCustomHotSpotImage)

Events

Name Description
OnAfterDrawDownHotSpot Occurs after a pressed hotspot is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnAfterDrawHotSpotName Occurs after a hotspot name is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnAfterDrawHoveredHotSpot Occurs after a hovered hotspot is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnAfterDrawSelectedHotSpot Occurs after a selected hotspot is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnBeforeDrawDownHotSpot Occurs before a pressed hotspot is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnBeforeDrawHotSpotName Occurs before a hotspot name is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnBeforeDrawHoveredHotSpot Occurs before a hovered hotspot is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnBeforeDrawSelectedHotSpot Occurs before a selected hotspot is drawn. (inherited from TTMSFNCCustomHotSpotImage)
OnHotSpotAppearanceChanged Occurs after a hotspot appearance changes. (inherited from TTMSFNCCustomHotSpotImage)
OnHotSpotShapeChanged Occurs after a hotspot shape changes. (inherited from TTMSFNCCustomHotSpotImage)
OnHoveredHotSpotChange Occurs before the hovered hotspot changes. (inherited from TTMSFNCCustomHotSpotImage)
OnHoveredHotSpotChanged Occurs after the hovered hotspot changes. (inherited from TTMSFNCCustomHotSpotImage)
OnSelectedHotSpotChange Occurs before the selected hotspot changes. (inherited from TTMSFNCCustomHotSpotImage)
OnSelectedHotSpotChanged Occurs after the selected hotspot changes. (inherited from TTMSFNCCustomHotSpotImage)

Used by