Function dashLineTo

  • draws dashed line on canvas context

    Parameters

    • context: CanvasRenderingContext2D
    • fromX: number
    • fromY: number
    • toX: number
    • toY: number
    • dash: number = 2
    • gap: number = 4

    Returns void