ImageGear .NET v25.2 - Updated
contains Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > Rectangle class : contains Method
Indicates whether the rectangle contains a given point.
Syntax
ASP.NET Ajax Javascript (Specification) 
function contains( 
   point : Point
) : String;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfRectangle.contains(Point);

Parameters

point
The point to examine.

Return Value

True if the point lies inside the rectangle or false otherwise.
Remarks

This function compares the given point to the rectangle that this object represents and returns true if the point lies inside the rectangle.

See Also

Reference

Rectangle class
Rectangle Members

Is this page helpful?
Yes No
Thanks for your feedback.