Draws one or more paths. supported paths are quadratic beziers and lines.

  • Parameters

    • ctx: CanvasRenderingContext2D
    • pathsToDraw: Path | readonly Path[]
    • opts: {
          debug?: boolean;
          strokeStyle?: string;
      } = {}
      • Optional Readonlydebug?: boolean
      • Optional ReadonlystrokeStyle?: string

    Returns void