drawRect(x, y, width, height) → {PIXI.Graphics}
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 |
Returns
- Source code: pixi/primitives/Graphics.js (Line 534)
Please login to continue.