| Name | Type | Description |
|---|---|---|
| in rect | Rect | The rectangle to draw. |
| in color | Color | The fill color of the rectangle. |
| in cornerRadius = null | Vector4 | The radius for each corner (optional). |
| in borderWidth = null | Vector4 | The width of the border for each edge (optional). |
| in borderColor = null | Color | The color of the border (optional). |