drawRectangleRec function

void drawRectangleRec(
  1. Rectangle rec,
  2. Color color
)

Draw a color-filled rectangle.

Implementation

void drawRectangleRec(Rectangle rec, Color color) {
  return library.DrawRectangleRec(rec.ref, color.ref);
}