Create a new circle sector with given circle, start- and end-angle.
The circle.
The start angle of the sector.
The end angle of the sector.
Required to generate proper CSS classes and other class related IDs.
The UID of this drawable object.
This function should invalidate any installed listeners and invalidate this object. After calling this function the object might not hold valid data any more and should not be used.
Helper function to convert a circle section as SVG arc params (for the d
attribute).
Found at: https://stackoverflow.com/questions/5736398/how-to-calculate-the-svg-path-for-an-arc-of-a-circle
TODO: generalize for ellipses (two radii).
Helper function to convert polar circle coordinates to cartesian coordinates.
TODO: generalize for ellipses (two radii).
The angle in radians.
Generated using TypeDoc
A simple circle sector: circle, start- and end-angle.
Line
SVGSerializale
UID
UIDGenerator
XYCoords