Sign in Join
FPDoc Onlineexperiment

TCustomImageList.GetHotSpot function

Member of TCustomImageListpublicIn unit ImgList

Returns the offset from the drawing position to the image origin.

Declaration

pascal
function GetHotSpot: TPoint

Function result

TPoint with the coordinates for the image hot spot.

Description

GetHotSpot is a TPoint function used to get the HotSpot for an image stored in the image list. 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.