Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<IEnumerable<PointD>> Do(string, double)

Declaration

public static IEnumerable<IEnumerable<PointD>> Do(
    string svgPath,
    double smoothness
)

Summary

Converts a string containing SVG path data to a sequence of points using the specified smoothness to render Bézier curves.

Parameters

stringsvgPath The SVG path data.
doublesmoothness A value indicating the maximum amount by which each curve (Bézier or arc) is allowed to be approximated. The smaller this value, the more points are generated for each curve.

Returns

A sequence of points that represent the fully rendered path.