DrawRectangleGradientEx method
void
DrawRectangleGradientEx(
- RectangleD rec,
- ColorD topLeft,
- ColorD bottomLeft,
- ColorD topRight,
- 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,
),
);