DrawCanvas
Callable
Parameters
Img: HTMLCanvasElement | HTMLImageElement
Canvas to draw
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
AlphaMasks: readonly RectTuple[]
A list of alpha masks to apply to the asset
Returns boolean
- whether the image was complete or not
Draws a canvas to a specific canvas