VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebObjectMoveAreaJS type / isPointOnArea Property
Syntax BrowserCompatibility SeeAlso
In This Topic
isPointOnArea Method
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);

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
56+
45+
11
See Also