Skip to main content

DrawClearAlphaMasks

Callable

  • DrawClearAlphaMasks(Canvas: CanvasRenderingContext2D, X: number, Y: number, AlphaMasks: readonly RectTuple[]): void

  • Clears alpha masks on a canvas


    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