CanvasImageObject constructor
const
CanvasImageObject({})
Creates an image object.
Implementation
const CanvasImageObject({
super.id,
super.name,
super.paint,
super.rotation,
super.locked,
super.hidden,
required this.src,
required this.x,
required this.y,
required this.width,
required this.height,
this.crossOrigin,
});