DrawRectangleGradientEx method

  1. @override
void DrawRectangleGradientEx(
  1. RectangleD rec,
  2. ColorD topLeft,
  3. ColorD bottomLeft,
  4. ColorD topRight,
  5. ColorD bottomRight,
)
override

Implementation

@override
void DrawRectangleGradientEx(
  RectangleD rec,
  ColorD topLeft,
  ColorD bottomLeft,
  ColorD topRight,
  ColorD bottomRight,
) => run(
  () => RaylibDebugLabels.DrawRectangleGradientEx(rec, topLeft, bottomLeft, topRight, bottomRight),
  () => rl.Core.DrawRectangleGradientEx(
    rl.Temp.Rectangle$.Ref1(rec).ref,
    rl.Temp.Color$.Ref1(topLeft).ref,
    rl.Temp.Color$.Ref2(bottomLeft).ref,
    rl.Temp.Color$.Ref3(topRight).ref,
    rl.Temp.Color$.Ref4(bottomRight).ref,
  ),
);