DrawRectangleGradientEx method

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

Draw a gradient-filled rectangle with custom vertex colors

Implementation

void DrawRectangleGradientEx(RectangleC rec, ColorC topLeft, ColorC bottomLeft, ColorC topRight, ColorC bottomRight)
  => _DrawRectangleGradientEx(rec, topLeft, bottomLeft, topRight, bottomRight);