charted.svg.shapes library

Classes

SvgArc
SvgArc provides a data-driven way to create path descriptions that can be used to draw arcs - like those used in pie-charts.
SvgArcData
Value type for SvgArc as used by default property accessors in SvgArc
SvgArea
SvgLine
SvgLine provides a data-driven way to create path descriptions that can be used to draw lines.
SvgShape
Common interface provided by all shape implementations.

Functions

bottomRoundedRect(int x, int y, int width, int height, int radius) String
Draw a rectangle with rounded corners on both corners on the top.
interpolateSvgArcData(SvgArcData a, SvgArcData b) Interpolator
Returns the interpolator between two SvgArcData a and b. [...]
leftRoundedRect(int x, int y, int width, int height, int radius) String
Draw a rectangle with rounded corners on both corners on the right.
rightRoundedRect(int x, int y, int width, int height, int radius) String
Draw a rectangle with rounded corners on both corners on the right.
roundedRect(int x, int y, int width, int height, int topLeft, int topRight, int bottomRight, int bottomLeft) String
Draw a rectangle at x, y which is width pixels wide and height pixels height. topLeft, topRight, bottomRight and bottomLeft are the corner radius at each of the four corners.
topRoundedRect(int x, int y, int width, int height, int radius) String
Draw a rectangle with rounded corners on both corners on the top.

Typedefs

LineInterpolator(Iterable<Point<num>> points, int tension) String
Function to convert a list of points to path.