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

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

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

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

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

bottom : number The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the

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

right : number The sum of the x and width properties. Changing the right property of a Rectangle object has no effect on the x

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

size(output) → {Phaser.Point}

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

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

2025-01-10 15:47:30