Table of Contents

TTMSFNCHotSpotImage.OnBeforeDrawSelectedHotSpot Event

Occurs before a selected hotspot is drawn.

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

Syntax

OnBeforeDrawSelectedHotSpot: TTMSFNCHotSpotImageBeforeDrawHotSpotEvent;

Parameters

Name Description
Sender Hotspot image that is drawing the hotspot.
AGraphics Graphics context used for drawing.
AIndex Index of the selected hotspot.
ABoundsRect Bounds of the hotspot.
APolygon Polygon that defines the hotspot shape.
ABitmap Bitmap used for selected 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.