DrawImage
Callable
Parameters
Source: string | HTMLImageElement | HTMLCanvasElement
URL of image or image itself
X: number
Position of the image on the X axis
Y: number
Position of the image on the Y axis
optionalInvert: boolean
Flips the image vertically
Returns boolean
- whether the image was complete or not
Draws an image from a source on the main canvas