clamp(min, max) → {Phaser.Point}
Clamps this Point object values to be between the given min and max.
Parameters
Name | Type | Description |
---|---|---|
min | number | The minimum value to clamp this Point to. |
max | number | The maximum value to clamp this Point to. |
Returns
This Point object.
- Source code: geom/Point.js (Line 200)
Please login to continue.