DrawRectanglePro method

void DrawRectanglePro(
  1. RectangleD rec,
  2. Vector2D origin,
  3. num rotation,
  4. ColorD color,
)

Implementation

void DrawRectanglePro(
  RectangleD rec,
  Vector2D origin,
  num rotation,
  ColorD color,
) => run(
  () => 'DrawRectanglePro($rec, $origin, $rotation, $color)',
  () => rl.Core.DrawRectanglePro(
    rl.Temp.Rectangle$.Ref1(rec).ref,
    rl.Temp.Vector2$.Ref1(origin).ref,
    rotation.toDouble(),
    rl.Temp.Color$.Ref1(color).ref,
  ),
);