drawRectanglePro function

void drawRectanglePro(
  1. Rectangle rec,
  2. Vector2 origin,
  3. double rotation,
  4. Color color,
)

Draw a color-filled rectangle with pro parameters.

Implementation

void drawRectanglePro(
  Rectangle rec,
  Vector2 origin,
  double rotation,
  Color color,
) {
  return library.DrawRectanglePro(
    rec.ref,
    origin.ref,
    rotation,
    color.ref,
  );
}