Function imageToCanvas

  • Converts an HTML image to a canvas. This creates a new canvas element and draws the image on it.

    Parameters

    Returns HTMLCanvasElement

    a new canvas element

Generated using TypeDoc