ChartDirector 6.0 (C++ Edition)
int getHotSpot(int x, int y);
Gets the hot spot under the given point as the current hot spot.
This method will retrieve the hot spot under the given point as the "current hot spot". Its attributes can then be retrieved using ImageMapHandler.getKey
This method returns an integer representing the hot spot, or -1 if the point is not over any hot spot. Each hot spot region is represented by a unique integer, which can be any arbitrary number. The number is mainly used to determine if the cursor has changed from one hot spot to another hot spot.
|x||(Mandatory)||The x coordinate of a point of which the hot spot is to be retrieved.|
|y||(Mandatory)||The y coordinate of a point of which the hot spot is to be retrieved.
An integer representing the hot spot, or -1 if the given point is not over any hot spot.
© 2017 Advanced Software Engineering Limited. All rights reserved.