public string ToSvgPathData(IToolContext context, ICollection <IBaseShape> selected) { var sb = new StringBuilder(); foreach (var shape in selected) { SkiaHelper.ToSvgPathData(context, shape, sb); } return(sb.ToString()); }
public string ToSvgPathData(IToolContext context, ICollection <IBaseShape> selected) { var sb = new StringBuilder(); var shapes = GetShapes(selected); if (shapes != null && shapes.Count > 0) { foreach (var shape in shapes) { SkiaHelper.ToSvgPathData(context, shape, sb); } } return(sb.ToString()); }