ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / Rectangle class / intersect Method

In This Topic
    intersect Method
    In This Topic
    Modifies the object to represent the intersection of this rectangle with another.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function intersect( 
       rectangle : Rectangle
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfRectangle.intersect(Rectangle);

    Parameters

    rectangle
    The rectangle to intersect with this object.
    Remarks

    This function will modify the rectangle represented by this object to contain only the intersection of this rectangle with another.

    If this rectangle does not intersect with the specified one, this function will set the x, y, width, and height properties to zero.

    See Also