Overloads
static void Rect (Rect rect, Color color, float cornerRadius)

Parameters

NameTypeDescription
rect Rect The rectangle to draw, in panel-local coordinates.
color Color Fill color.
cornerRadius = 0 float Uniform corner radius for rounded rectangles. Use the overload for per-corner control.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.