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

topLeft : Phaser.Point The location of the Rectangles

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

<static> intersectsRaw(left, right, top, bottom, tolerance) → {boolean}

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

scale(x, y) → {Phaser.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#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#setTo()
  • References/Game Development/Phaser/Geometry/Rectangle

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

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

contains(x, y) → {boolean} Determines whether the specified coordinates are contained within the

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