Functions
createSvg
- createSvg<T>(type: T): SVGElementTagNameMap[T]
-
Type parameters
-
T: keyof SVGElementTagNameMap
Parameters
Returns SVGElementTagNameMap[T]
getTransform
- getTransform(selectedElement: SVGGraphicsElement): SVGTransform
-
Parameters
-
selectedElement: SVGGraphicsElement
Returns SVGTransform
pathArc
- pathArc(r: number, a0: number, a1: number, cx: number, cy: number, isClosed?: boolean): string
-
Parameters
-
r: number
-
a0: number
-
a1: number
-
cx: number
-
cy: number
-
isClosed: boolean = false
Returns string
svg path
path an arc https://github.com/plotly/plotly.js/blob/587d86cc7d7f91f7618c78f9bf847bcff6ee2ac8/src/lib/angles.js#L106