@thisotherthing/ops

@thisotherthing/ops-svg

Exports

LayerPathCommandValues

"M"
"m"
"L"
"l"
"H"
"h"
"V"
"v"
"C"
"c"
"S"
"s"
"Q"
"q"
"T"
"t"
"A"
"a"
"Z"
"z"

OpsSvgUnitValues

"none"
"em"
"ex"
"px"
"pt"
"pc"
"cm"
"mm"
"in"
"percentages"

createOpsSvg

// Creates an svgCanvas

Parameters

info?
width:number
height:number
units:
none
em
ex
px
pt
pc
cm
mm
in
percentages
style?:
fill?:
"none"
string
stroke?:
"none"
string
strokeWidth?:number
strokeLinecap?:
"butt"
"square"
"round"
strokeLinejoin?:
"miter"
"round"
"bevel"
opacity?:number

Return

tktk TODO implement ReturnType