Skip to main content

SVG

Functions

svgArc(r0, r1, a0, a1)string
svgCircularPath(r, a, b)string
svgArc2(r0, r1, a0, b0, a1, b1)string
createSVGElement(tag)Element

svgArc(r0, r1, a0, a1) ⇒ string

Kind: global function

ParamTypeDescription
r0numberinner radius
r1numberouter radius
a0numberstarting angle
a1numberend angle

svgCircularPath(r, a, b) ⇒ string

Kind: global function

ParamTypeDescription
rnumberOuter Radius
anumberStart of the outer arc (in rad)
bnumberEnd of the outer arc (in rad)

svgArc2(r0, r1, a0, b0, a1, b1) ⇒ string

Kind: global function

ParamTypeDescription
r0numberInner radius
r1numberOuter Radius
a0numberStart of the inner arc (in rad)
b0numberEnd of the inner arc (in rad)
a1numberStart of the outer arc (in rad)
b1numberEnd of the outer arc (in rad)

createSVGElement(tag) ⇒ Element

Kind: global function

ParamType
tagString