drawRectangle function

void drawRectangle(
  1. int posX,
  2. int posY,
  3. int width,
  4. int height,
  5. Color color,
)

Draw a color-filled rectangle.

Implementation

void drawRectangle(int posX, int posY, int width, int height, Color color) {
  return library.DrawRectangle(posX, posY, width, height, color.ref);
}