Class ChartPathBuilder
Builds SVG path data in the plot's percentage coordinate space.
public sealed class ChartPathBuilder
- Inheritance
-
ChartPathBuilder
- Inherited Members
Constructors
ChartPathBuilder()
public ChartPathBuilder()
Methods
ArcTo(double, bool, bool, double, double)
Draws a circular arc to a point.
public ChartPathBuilder ArcTo(double radius, bool largeArc, bool clockwise, double x, double y)
Parameters
Returns
Close()
Closes the current subpath.
public ChartPathBuilder Close()
Returns
CurveTo(double, double, double, double, double, double)
Draws a cubic Bezier curve to a point.
public ChartPathBuilder CurveTo(double control1X, double control1Y, double control2X, double control2Y, double x, double y)
Parameters
Returns
LineTo(double, double)
Draws a straight line to a point.
public ChartPathBuilder LineTo(double x, double y)
Parameters
Returns
MoveTo(double, double)
Starts a new subpath at a point.
public ChartPathBuilder MoveTo(double x, double y)
Parameters
Returns
Through(IReadOnlyList<(double X, double Y)>, ChartCurve)
Continues the path from its current point (which must be the first of points) through the
rest of the points, joined according to curve.
public ChartPathBuilder Through(IReadOnlyList<(double X, double Y)> points, ChartCurve curve)
Parameters
pointsIReadOnlyList<(double X, double Y)>curveChartCurve
Returns
ToString()
public override string ToString()