Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- mark
- The mark the mouse is over.
- mousePoint
- The position of the mouse (in device pixels).
- markControllerData
- The mark controller data.
This method checks if the mouse is over a point in your custom mark. If it is, the markControllerData parameter is updated so that the Cursor property
is set to the Hand cursor and the Hand cursor displays. The ID of the point the cursor is over is set, and the type of resizing to perform for the point is set.
If the mouse is clicked, the specified point ID and resize type will be passed to the ImGearAnnotatorMarkController.Resize method,
which can use this information to modify the size of the mark or the position of a point in the mark.
You must override the UpdateBounds method to enable resizing your custom mark.