ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > Rectangle class : contains Method |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfRectangle.contains(Point); |
True
if the point lies inside the rectangle or false
otherwise.This function compares the given point to the rectangle that this object represents and returns true if the point lies inside the rectangle.