DrawRectangleGradientEx method
void
DrawRectangleGradientEx(
- RectangleD rec,
- ColorD topLeft,
- ColorD bottomLeft,
- ColorD topRight,
- ColorD bottomRight,
Draw a gradient-filled rectangle with custom vertex colors
Implementation
void DrawRectangleGradientEx(
RectangleD rec,
ColorD topLeft,
ColorD bottomLeft,
ColorD topRight,
ColorD bottomRight,
) => run(
() => _debugLabels.DrawRectangleGradientEx(rec, topLeft, bottomLeft, topRight, bottomRight),
() => _flat.DrawRectangleGradientEx(
rec,
topLeft,
bottomLeft,
topRight,
bottomRight,
),
);