You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a method in each (suitable) shape, called catch().
Method should receive an argument - object {x, y} for the click-point.
Method should return true if shape catches the coordinates {x, y}, which means point is on a border or inside the shape.
Method should return false if point is outside the shape.
No description provided.
The text was updated successfully, but these errors were encountered: