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