Exemplo n.º 1
0
        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)
                {
                    SkiaUtil.ToSvgPathData(context, shape, sb);
                }
            }
            return(sb.ToString());
        }