VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebInteractionPointJS 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.WebInteractionPointJS(name, fillColor, borderColor, cursor);
    
    var value; // Type: boolean
    
    // Parameters
    var x; // Type: number
    var y; // Type: number
    
    value = instance.isPointOnArea(x, y);
    
    
    function isPointOnArea(
    x
    The X coordinate, in viewer space.
    : number,
    y
    The Y coordinate, in viewer space.
    : number
    ) : boolean;

    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