TypeLibF Xojo Plugin

PolygonF.HitTestCorners Method

Returns the number of the corner that was clicked or zero if no corner was clicked.

HitTestCorners(
   x as Double,
   y as Double,
   tolerance as Integer) as Integer

Parameters

x
The x coordinate to test.
y
The y coordinate to test.
tolerance
This is used to define how much away from the point the click may be to be considered click on the point.

Returns

Integer
The number of the corner that was clicked or zero if none.

Remarks

See Also

PolygonF Class