<static> intersectsRaw(left, right, top, bottom, tolerance) → {boolean}
Determines whether the object specified intersects (overlaps) with the given values.
Parameters
Name | Type | Description |
---|---|---|
left | number | The x coordinate of the left of the area. |
right | number | The right coordinate of the area. |
top | number | The y coordinate of the area. |
bottom | number | The bottom coordinate of the area. |
tolerance | number | A tolerance value to allow for an intersection test with padding, default to 0 |
Returns
boolean -
A value of true if the specified object intersects with the Rectangle; otherwise false.
- Source code: geom/Rectangle.js (Line 979)
Please login to continue.