DrawRectangle method
Implementation
void DrawRectangle(
num posX,
num posY,
num width,
num height,
ColorD color,
) => run(
() => 'DrawRectangle($posX, $posY, $width, $height, $color)',
() => rl.Core.DrawRectangle(
posX.toInt(),
posY.toInt(),
width.toInt(),
height.toInt(),
_refColor1(color).ref,
),
);