DrawRectanglePro method

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

Draw a color-filled rectangle with pro parameters

Implementation

@override
void DrawRectanglePro(
  Rectangle rec,
  Vector2 origin,
  double rotation,
  Color color,
) => _ffi.DrawRectanglePro(
  Rectangle$.Ref1(rec).asNativePointer<RectangleC>().ref,
  Vector2$.Ref1(origin).asNativePointer<Vector2C>().ref,
  rotation,
  Color$.Ref1(color).asNativePointer<ColorC>().ref,
);