drawRect

fnvoid drawRect(Rect area, Rgba color = white, float thickness = - 1.0f, Vec2 origin = Vec2(), float rotation = 0.0f) @safe nothrow @nogc

Draws a rectangle with the specified area and color.

fnvoid drawRect(Vec2 position, Vec2 size, Rgba color = white, float thickness = - 1.0f, Vec2 origin = Vec2(), float rotation = 0.0f) @safe nothrow @nogc

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, Vec2 origin = Vec2(), float rotation = 0.0f) @safe nothrow @nogc

Draws a rectangle with the specified area and color.