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