renderImage method
void
renderImage({})
Implementation
void renderImage({
required DartUI.Image image,
required double dstX,
required double dstY,
double anchorX = 0.5,
double anchorY = 0.5,
double scale = 1.0,
int color = 1,
}) => render(
color: color,
srcX: 0,
srcY: 0,
srcWidth: image.width.toDouble(),
srcHeight: image.height.toDouble(),
scale: scale,
rotation: 0,
dstX: dstX - (image.width * anchorX * scale),
dstY: dstY - (image.height * anchorY * scale),
);