mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Math.RectangleLike
is a new typedef that defines a rectangle-like object with public x
, y
, width
and height
properties.
This commit is contained in:
parent
5d0c50c704
commit
4df43d7bed
1 changed files with 9 additions and 0 deletions
9
src/math/typedefs/RectangleLike.js
Normal file
9
src/math/typedefs/RectangleLike.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* @typedef {object} Phaser.Types.Math.RectangleLike
|
||||
* @since 3.80.0
|
||||
*
|
||||
* @property {number} x - The x component.
|
||||
* @property {number} y - The y component.
|
||||
* @property {number} width - The width component.
|
||||
* @property {number} height - The height component.
|
||||
*/
|
Loading…
Add table
Reference in a new issue