DrawRectanglePro method
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,
),
);