TTMSFNCHotSpot Class
Represents a selectable region on a hotspot image.
API unit family: TMSFNCHotSpotImage
Inherits from: TCollectionItem
Syntax
TTMSFNCHotSpot = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Appearance | Gets or sets the appearance used for this hotspot. |
| DataString | Gets or sets application-defined data associated with the hotspot. |
| HotSpotPoints | Gets or sets a serialized hotspot point value for web targets. |
| HotSpotPolygon | Gets or sets the polygon used for hit testing and drawing the hotspot. |
| Hovered | Gets whether the pointer is currently over the hotspot. |
| Name | Gets or sets the hotspot name. |
| Selectable | Gets or sets whether the hotspot can be selected. |
| Selected | Gets or sets whether the hotspot is selected. |
| ShowDownName | Gets or sets whether the hotspot name is shown while the hotspot is pressed. |
| ShowHoverName | Gets or sets whether the hotspot name is shown while the hotspot is hovered. |
| ShowOnDown | Gets or sets whether hotspot feedback is drawn while the hotspot is pressed. |
| ShowOnHover | Gets or sets whether hotspot feedback is drawn while the hotspot is hovered. |
| ShowOnSelect | Gets or sets whether hotspot feedback is drawn while the hotspot is selected. |
| ShowSelectedName | Gets or sets whether the hotspot name is shown while the hotspot is selected. |
Methods
| Name | Description |
|---|---|
| SetEllipse | Sets the hotspot shape to an ellipse within the specified bounds. |
| SetPath | Sets the hotspot shape from a graphics path. |
| SetRectangle | Sets the hotspot shape to the specified rectangle. |