Improve documentation of Rectangle#intersects.

This commit is contained in:
Jürg Lehni 2012-09-30 14:08:02 -07:00
parent 99ac617ded
commit 2c5c4ae423

View file

@ -487,7 +487,8 @@ var Rectangle = this.Rectangle = Base.extend(/** @lends Rectangle# */{
/**
* Tests if the interior of this rectangle intersects the interior of
* another rectangle.
* another rectangle. Rectangles just touching each other are considered
* as non-intersecting.
*
* @param {Rectangle} rect the specified rectangle
* @return {Boolean} {@true if the rectangle and the specified rectangle