ImageGear .NET
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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback