subtract(x, y) → {Phaser.Point}
Subtracts the given x and y values from this Point.
Parameters
Name | Type | Description |
---|---|---|
x | number | The value to subtract from Point.x. |
y | number | The value to subtract from Point.y. |
Returns
This Point object. Useful for chaining method calls.
- Source code: geom/Point.js (Line 122)
Please login to continue.