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

point
The point to examine.

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.