Skip to main content

DrawAlpha

Callable

  • DrawAlpha(Canvas: HTMLCanvasElement, Alpha?: number): HTMLCanvasElement

  • Return a semi-transparent copy of a canvas


    Parameters

    • Canvas: HTMLCanvasElement

      source

    • optionalAlpha: number

      transparency between 0-1

    Returns HTMLCanvasElement

    • result