DrawImageEx
Callable
Parameters
Source: string | HTMLCanvasElement | HTMLImageElement
URL of image or image itself
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
any extra options
Returns boolean
- whether the image was complete or not
Draws an image on canvas, applying all options