[]
A helper class for creating instances of SvgPathData.
public class SvgPathBuilder
Public Class SvgPathBuilder
Name | Description |
---|---|
SvgPathBuilder() | Initializes a new instance of the SvgPathBuilder class. |
Name | Description |
---|---|
ContainsOpenFigures | Gets a value indicating whether the path contains not closed figures. |
FigureCount | Gets the number of figures in the path. |
HasFillingArea | Gets a value indicating whether the path has interior space for filling. |
Name | Description |
---|---|
Add(SvgPathCommand) | Appends the specified SvgPathCommand to the current path. |
AddClosePath(bool) | Adds the "closepath" command to the path. |
AddCurveTo(bool, float, float, float, float, float, float) | Adds the "curveto" command to the path. |
AddEllipticalArc(bool, float, float, float, ArcSize, SweepDirection, float, float) | Adds the "elliptical arc" command to the path. |
AddHorizontalLineTo(bool, float) | Adds the "horizontal lineto" command to the path. |
AddLineTo(bool, float, float) | Adds the "lineto" command to the path. |
AddMoveTo(bool, float, float) | Adds the "moveto" command to the path. |
AddQuadraticBezierCurveTo(bool, float, float, float, float) | Adds the "quadratic Bézier curveto" command to the path. |
AddSmoothCurveTo(bool, float, float, float, float) | Adds the "smooth curveto" command to the path. |
AddSmoothQuadraticBezierCurveTo(bool, float, float) | Adds the "smooth quadratic Bézier curveto" command to the path. |
AddVerticalLineTo(bool, float) | Adds the "vertical lineto" command to the path. |
Reset() | Clears the internal state of SvgPathBuilder and prepares for a new path. |
ToPathData() | Creates a new instance of the SvgPathData class. |