Click or drag to resize

IMcGraphObjCircleHitTest Method

Tests which handle, if any, a point is over

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Function HitTest ( 
	x As Single,
	y As Single
) As Integer

Parameters

x
Type: SystemSingle
Target x in image coordinate
y
Type: SystemSingle
Target y in image coordinate

Return Value

Type: Int32
The handle number (starting at 1) if the point is over a handle of a visible, selectable object; 0 otherwise.

Implements

IMcGraphObjHitTest(Single, Single)
Remarks
The object must be selectable and visible for the HitTest to succeed. If you want to test if a point is anywhere over an object, and not just over one of its handles, use the Intersects method. The target point is given in image coordinates, not screen or client coordinates.
See Also