Skip to main content

DrawApplyTextureAlphaMask

Callable

  • DrawApplyTextureAlphaMask(destCanvas, X, Y, TextureAlphaMasks): void

  • Applies texture masks to a canvas about to be drawn


    Parameters

    • destCanvas: CanvasRenderingContext2D
    • X: number

      Position of the image on the X axis

    • Y: number

      Position of the image on the Y axis

    • TextureAlphaMasks: readonly TextureAlphaMask[]

    Returns void