multiply(x, y) → {Phaser.Point}
Multiplies Point.x and Point.y by the given x and y values. Sometimes known as Scale
.
Parameters
Name | Type | Description |
---|---|---|
x | number | The value to multiply Point.x by. |
y | number | The value to multiply Point.x by. |
Returns
This Point object. Useful for chaining method calls.
- Source code: geom/Point.js (Line 138)
Please login to continue.