Interface LineContext

An interface for the lineTo() method of the CanvasPathMethods API.

interface LineContext {
    lineTo(x, y): void;
}

Methods

Methods

  • lineTo() method of the CanvasPathMethods API.

    Parameters

    • x: number
    • y: number

    Returns void