drawRect

fnvoid drawRect(Rect area, Rgba color = white, float thickness = - 1.0f)

Draws a rectangle with the specified area and color.

fnvoid drawRect(Vec2 position, Vec2 size, Rgba color = white, float thickness = - 1.0f)

Draws a rectangle with the specified area and color.

fnvoid drawRect(float x, float y, float w, float h, Rgba color = white, float thickness = - 1.0f)

Draws a rectangle with the specified area and color.