ImageDrawRectangle method
void
ImageDrawRectangle()
override
Implementation
@override
void ImageDrawRectangle(
ImageD dst,
num posX,
num posY,
num width,
num height,
ColorD color,
) => run(
() => RaylibDebugLabels.ImageDrawRectangle(dst, posX, posY, width, height, color),
() => rl.Temp.Image$.RefUpdate1(dst,
(p) => rl.Core.ImageDrawRectangle(
p,
posX.toInt(),
posY.toInt(),
width.toInt(),
height.toInt(),
rl.Temp.Color$.Ref1(color).ref,
),
),
);