DrawImageCanvas
Callable
Parameters
Source: string | HTMLCanvasElement | HTMLImageElement
URL of the image
Canvas: CanvasRenderingContext2D
Canvas on which to draw the image
X: number
Position of the image on the X axis
Y: number
Position of the image on the Y axis
optionalOptions: DrawOptions
Options to use when drawing
Returns boolean
- whether the image was complete or not
Draws a zoomed image from a source to a specific canvas