ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > Rectangle class : intersect Method |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfRectangle.intersect(Rectangle); |
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.