IPathBuilder.Build

IPathBuilder.Build method

Optimizes a given trace into an SVG path segment, using the least number of line and Bezier curve commands for accurate representation.

public string Build(IEnumerable<PointF> trace)
ParameterTypeDescription
traceIEnumerable`1A sequence of points outlining the trace to be optimized into an SVG path.

Return Value

A string representing an SVG path segment, efficiently approximating the original trace with minimal line and Bezier curve commands.

See Also