DrawRectangleGradientH method
Draw a horizontal-gradient-filled rectangle
Implementation
void DrawRectangleGradientH(
num posX,
num posY,
num width,
num height,
Color left,
Color right,
) => run(
() => _debugLabels.DrawRectangleGradientH(posX, posY, width, height, left, right),
() => _flat.DrawRectangleGradientH(
posX.toInt(),
posY.toInt(),
width.toInt(),
height.toInt(),
left,
right,
),
);