DrawRectangleGradientEx method

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

Implementation

void DrawRectangleGradientEx(
  RectangleD rec,
  ColorD topLeft,
  ColorD bottomLeft,
  ColorD topRight,
  ColorD bottomRight,
) => run(
  () => 'DrawRectangleGradientEx($rec, $topLeft, $bottomLeft, $topRight, $bottomRight)',
  () => rl.Core.DrawRectangleGradientEx(
    _refRectangle1(rec).ref,
    _refColor1(topLeft).ref,
    _refColor2(bottomLeft).ref,
    _refColor3(topRight).ref,
    _refColor4(bottomRight).ref,
  ),
);