mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Improve documentation of Rectangle#intersects.
This commit is contained in:
parent
99ac617ded
commit
2c5c4ae423
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue