* set the Point x and y properties to the given values * @param x horizontal coordinate * @param y vertical coordinate * @returns Reference to this object for method chaining
(x = 0, y = 0)
| 35 | * @returns Reference to this object for method chaining |
| 36 | */ |
| 37 | set(x = 0, y = 0) { |
| 38 | this.x = x; |
| 39 | this.y = y; |
| 40 | return this; |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * return true if this point is equal to the given point |
no outgoing calls
no test coverage detected