- dashLineTo(
context: CanvasRenderingContext2D,
fromX: number,
fromY: number,
toX: number,
toY: number,
dash?: number,
gap?: number,
): void Parameters
- context: CanvasRenderingContext2D
- fromX: number
- fromY: number
- toX: number
- toY: number
- dash: number = 2
- gap: number = 4
Returns void
draws dashed line on canvas context