RoundedRectangle#contains()
  • References/Game Development/Phaser/Geometry/RoundedRectangle

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

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

clone() → {Phaser.RoundedRectangle}

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

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

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

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

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

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

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

radius : number The radius of the rounded corners. Source code:

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

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

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

new RoundedRectangle(x, y, width, height,

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

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

2025-01-10 15:47:30