RoundedRectangle
Class: Phaser.RoundedRectangle
Constructor
new RoundedRectangle(x, y, width, height, radius)
The Rounded Rectangle object is an area defined by its position and has nice rounded corners,
as indicated by its top-left corner point (x, y) and by its width and its height.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
x | number | <optional> | 0 | The x coord |