VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebInteractionPointJS type / isPointOnArea Property
Syntax BrowserCompatibility SeeAlso
isPointOnArea Method
Determines whether a point, in viewer space, is contained within the interaction area.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebInteractionPointJS(name, 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 viewer space.
y
The Y coordinate, in viewer space.

Return Value

true if point is contained within the interaction area; false - otherwise.
Browser Compatibility
56+
45+
11
See Also