Returns true if point is within or on boundary of rect.
rect
Rects.intersectsPoint(rect, { x: 100, y: 100});Rects.intersectsPoint(rect, 100, 100); Copy
Rects.intersectsPoint(rect, { x: 100, y: 100});Rects.intersectsPoint(rect, 100, 100);
Returns true if point is within, or on boundary of rect.
point
Rects.intersectsPoint(rect, { x: 100, y: 100}); Copy
Rects.intersectsPoint(rect, { x: 100, y: 100});
Returns true if x,y coordinate is within, or on boundary of rect.
Rects.intersectsPoint(rect, 100, 100); Copy
Rects.intersectsPoint(rect, 100, 100);
Returns true if point is within or on boundary of
rect
.Param: rect
Param: a
Param: b
Returns