DrawRectanglePro method
Implementation
void DrawRectanglePro(
RectangleD rec,
Vector2D origin,
num rotation,
ColorD color,
) => run(
() => 'DrawRectanglePro($rec, $origin, $rotation, $color)',
() => rl.Core.DrawRectanglePro(
_refRectangle1(rec).ref,
_refVector21(origin).ref,
rotation.toDouble(),
_refColor1(color).ref,
),
);