VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebArcAnnotationViewJS type / isPointOnFigure Property
Syntax BrowserCompatibility SeeAlso
In This Topic
isPointOnFigure Method
In This Topic
Returns a value indicating whether point is located on annotation.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebArcAnnotationViewJS();

var value; // Type: boolean

// Parameters
var x; // Type: number
var y; // Type: number

value = instance.isPointOnFigure(x, y);

Parameters

x
X-coordinate of point in control space.
y
Y-coordinate of point in control space.

Return Value

True - point is located on annotation; False - point is not located on annotation.
Browser Compatibility
56+
45+
11
See Also