Rectangle#floor()
  • References/Game Development/Phaser/Geometry/Rectangle

floor() Runs Math.floor() on both the x and y values of this Rectangle. Source

2025-01-10 15:47:30
Rectangle.containsPoint()
  • References/Game Development/Phaser/Geometry/Rectangle

<static> containsPoint(a, point) → {boolean} Determines

2025-01-10 15:47:30
Rectangle#width
  • References/Game Development/Phaser/Geometry/Rectangle

width : number The width of the Rectangle. This value should never be set to a negative.

2025-01-10 15:47:30
Rectangle.union()
  • References/Game Development/Phaser/Geometry/Rectangle

<static> union(a, b, output) → {

2025-01-10 15:47:30
Rectangle#centerX
  • References/Game Development/Phaser/Geometry/Rectangle

centerX : number The x coordinate of the center of the Rectangle. Source

2025-01-10 15:47:30
Rectangle#scale()
  • References/Game Development/Phaser/Geometry/Rectangle

scale(x, y) → {Phaser.Rectangle}

2025-01-10 15:47:30
Rectangle#randomX
  • References/Game Development/Phaser/Geometry/Rectangle

randomX : number A random value between the left and right values (inclusive) of the Rectangle.

2025-01-10 15:47:30
Rectangle#offsetPoint()
  • References/Game Development/Phaser/Geometry/Rectangle

offsetPoint(point) → {Phaser.Rectangle}

2025-01-10 15:47:30
Rectangle#clone()
  • References/Game Development/Phaser/Geometry/Rectangle

clone(output) → {Phaser.Rectangle}

2025-01-10 15:47:30
Rectangle.equals()
  • References/Game Development/Phaser/Geometry/Rectangle

<static> equals(a, b) → {boolean} Determines whether

2025-01-10 15:47:30