drawRoundedRect(x, y, width, height, radius)
Parameters
Name | Type | Description |
---|---|---|
x | Number | The X coord of the top-left of the rectangle |
y | Number | The Y coord of the top-left of the rectangle |
width | Number | The width of the rectangle |
height | Number | The height of the rectangle |
radius | Number | Radius of the rectangle corners. In WebGL this must be a value between 0 and 9. |
- Source code: pixi/primitives/Graphics.js (Line 550)
Please login to continue.