Skip to main content

DrawApplyTextureAlphaMask

Callable

  • DrawApplyTextureAlphaMask(destCanvas: CanvasRenderingContext2D, X: number, Y: number, TextureAlphaMasks: readonly TextureAlphaMask[]): 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