Context2D

Notes

Draw image

ctx.drawImage(
    image,
    sx,
    sy,
    sWidth,
    sHeight,
    dx,
    dy,
    dWidth,
    dHeight
);

Last updated