ImageGear .NET v25.0 - Updated
intersect Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > Rectangle class : intersect Method
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

Reference

Rectangle class
Rectangle Members