ImageDrawRectangle method
void
ImageDrawRectangle()
override
Draw rectangle within an image
Implementation
@override
void ImageDrawRectangle(
StructPointer<ImageD> dst,
int posX,
int posY,
int width,
int height,
ColorD color,
) => _ffi.ImageDrawRectangle(
dst.asNativePointer(),
posX,
posY,
width,
height,
$.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);