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

aabb(points, out) → {Phaser

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

copyTo(source) → {object} Copies the x, y, width and height properties from this Rectangle to any

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

[readonly] type : number The const type of this object.

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

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

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

<static> containsRaw(rx, ry, rw, rh, x, y) → {boolean} Determines

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

intersects(b) → {boolean} Determines whether this Rectangle and another given Rectangle intersect

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

random(out) → {Phaser.Point}

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

x : number The x coordinate of the top-left corner of the Rectangle. Source

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

offset(dx, dy) → {Phaser.Rectangle}

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

randomY : number A random value between the top and bottom values (inclusive) of the Rectangle.

2025-01-10 15:47:30