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(
    _refRectangle1(rec).ref,
    _refVector21(origin).ref,
    rotation.toDouble(),
    _refColor1(color).ref,
  ),
);