Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

generate

import { generate } from "https://raw.githubusercontent.com/ycw/svg-path/main/src/mod.ts";

Generate path data ( string ) from path segments ( Seg[] ).

function generate(segs: Seg[], opt?: GenOpt): string;
§
generate(segs: Seg[], opt?: GenOpt): string
[src]

§Parameters

§
segs: Seg[]
[src]

Path segments. ( parser's output )

§
opt?: GenOpt optional
[src]

§Return Type

§
string
[src]

Path data