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

clone(output) → {Phaser.Rectangle}

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#setTo()
  • References/Game Development/Phaser/Geometry/Rectangle

setTo(x, y, width, height) → {Phaser.Rectangle}

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#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.intersects()
  • References/Game Development/Phaser/Geometry/Rectangle

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

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

intersectsRaw(left, right, top, bottom, tolerance) → {boolean} Determines whether the coordinates

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

[readonly] halfHeight : number Half of the height of the Rectangle.

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

[readonly] halfWidth : number Half of the width of the Rectangle.

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

centerY : number The y coordinate of the center of the Rectangle. Source

2025-01-10 15:47:30