ImageGear for .NET
intersect Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > Rectangle Class : intersect Method

rectangle
The rectangle to intersect with this object.

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.