Interface IPathBuilder

Interface IPathBuilder

Namespace: Aspose.Svg.ImageVectorization
Assembly: Aspose.SVG.dll (25.12.0)

The IPathBuilder interface is responsible for building path segments Aspose.Svg.Paths.SVGPathSeg from list of the trace points.

[ComVisible(true)]
public interface IPathBuilder

Methods

Build(IEnumerable<PointF>)

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

string Build(IEnumerable<PointF> trace)

Parameters

trace IEnumerable < PointF >

A sequence of points outlining the trace to be optimized into an SVG path.

Returns

string

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

 English