DrawRectangleGradientV method

void DrawRectangleGradientV(
  1. num posX,
  2. num posY,
  3. num width,
  4. num height,
  5. ColorD top,
  6. ColorD bottom,
)

Implementation

void DrawRectangleGradientV(
  num posX,
  num posY,
  num width,
  num height,
  ColorD top,
  ColorD bottom,
) => run(
  () => 'DrawRectangleGradientV($posX, $posY, $width, $height, $top, $bottom)',
  () => rl.Core.DrawRectangleGradientV(
    posX.toInt(),
    posY.toInt(),
    width.toInt(),
    height.toInt(),
    rl.Temp.Color$.Ref1(top).ref,
    rl.Temp.Color$.Ref2(bottom).ref,
  ),
);