FunctionsDrawImageDrawImage CallableDrawImage(Source: string | HTMLImageElement | HTMLCanvasElement, X: number, Y: number, Invert?: boolean): booleanDraws an image from a source on the main canvasParametersSource: string | HTMLImageElement | HTMLCanvasElementURL of image or image itselfX: numberPosition of the image on the X axisY: numberPosition of the image on the Y axisoptionalInvert: booleanFlips the image verticallyReturns booleanwhether the image was complete or not
Draws an image from a source on the main canvas