Interface IPathBuilder
Interface IPathBuilder
Namespace: Aspose.Svg.ImageVectorization
Assembly: Aspose.SVG.dll (25.5.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
A string representing an SVG path segment, efficiently approximating the original trace with minimal line and Bezier curve commands. </pointf>