- paths(ctx, pathsToDraw, opts?): void
Parameters
- ctx: CanvasRenderingContext2D
- pathsToDraw: Path | readonly Path[]
- opts: {
debug?: boolean;
strokeStyle?: string;
} = {}Optional
Readonly
debug?: boolean
Optional
Readonly
strokeStyle?: string
Returns void
Draws one or more paths. supported paths are quadratic beziers and lines.