In This Topic
Determines whether a point, in viewer space, is contained within the interaction area.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebObjectMoveAreaJS(obj);
var value; // Type: boolean
// Parameters
var x; // Type: number
var y; // Type: number
value = instance.isPointOnArea(x, y);
function isPointOnArea(
: number,
: number
) : boolean;
Parameters
- x
- The X coordinate, in coordinate space of visible area of the image viewer.
- y
- The Y coordinate, in coordinate space of visible area of the image viewer.
Return Value
true if point is contained within the interaction area; false - otherwise.
Browser Compatibility
See Also