Sign in Join
FPDoc Onlineexperiment

TCustomImageListResolution.GetHotSpot function

Member of TCustomImageListResolutionpublicIn unit ImgList

Get the coordinates for the HotSpot in an image in the list.

Declaration

pascal
function GetHotSpot: TPoint; virtual

Function result

Point with the horizontal and vertical offset for the image hot spot.

Description

GetHotSpot is a TPoint function used to get the HotSpot for an image stored in the resolution. The HotSpot is an offset from the drawing position to the image origin. A HotSpot is used only in TDragImageList. In TCustomImageList, its position is always ( 0,0).

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.