var instance = new Vintasoft.Imaging.UI.VisualTools.WebRectangularSelectionAreaJS(fillColor, borderColor, cursor); 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.