Table of Contents

TTMSFNCHotSpotImage.OnBeforeDrawHoveredHotSpot Event

Occurs before a hovered hotspot is drawn.

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

Syntax

OnBeforeDrawHoveredHotSpot: TTMSFNCHotSpotImageBeforeDrawHotSpotEvent;

Parameters

Name Description
Sender Hotspot image that is drawing the hotspot.
AGraphics Graphics context used for drawing.
AIndex Index of the hovered hotspot.
ABoundsRect Bounds of the hotspot.
APolygon Polygon that defines the hotspot shape.
ABitmap Bitmap used for hovered hotspot drawing.
AAllow Set to True to draw the hotspot; set to False to suppress it.
ADefaultDraw Set to True to keep default drawing; set to False when custom drawing replaces it.