image or video to draw
x position to draw the image at
y position to draw the image at
Optionaldw: number
width of the destination image
Optionaldh: number
height of the destination image
Optionalsx: number
x position in the source to start clipping a subsection from
Optionalsy: number
y position in the source to start clipping a subsection from
Optionalsw: number
width of the subsection of the source image
Optionalsh: number
height of the subsection of the source image
🌆 Draws an image or video frame to the canvas.