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:
Richard Davey 2024-02-20 23:52:54 +00:00
parent 5d0c50c704
commit 4df43d7bed

View 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.
*/