VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebRectangleAnnotationViewJS 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.WebRectangleAnnotationViewJS();
    
    var value; // Type: boolean
    
    // Parameters
    var x; // Type: number
    var y; // Type: number
    
    value = instance.isPointOnFigure(x, y);
    
    
    function isPointOnFigure(
    x
    X-coordinate of point in control space.
    : number,
    y
    Y-coordinate of point in control space.
    : number
    ) : boolean;

    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