DrawClearAlphaMasks
Callable
Parameters
Canvas: CanvasRenderingContext2D
The canvas on which to clear rect
X: number
X offset of where the masking should be done
Y: number
Y offset of where the masking should be done
AlphaMasks: readonly RectTuple[]
An array of alpha masks to apply
Returns void
Clears alpha masks on a canvas