Skip to content

Built-in SVG interactions #210

@alexander-welshtein

Description

@alexander-welshtein

I continue the section of those things that we have developed while working with this tool. In our tasks, each shape must be exported as a separate SVG. At the same time, we keep working with shapes within CanvasSpace. We export to SVG manually, including the text paragraph (by overriding the functionality of the Canvas/paragraphBox and Canvas/_textTruncate methods). Based on this, two points that can be considered as improvements to the library:

  1. Possibility of exporting the entire canvas and/or each shape to SVG. (maximum, may differ from the direction of library development)
  2. Utility access to the text paragraph content functions mentioned above. (minimum)

In this case, I can prepare a PR if the development is approved. Or need more information?

P.S. Also, perhaps these things could be solved by a more developed SVGSpace/SVGForm compatible with CanvasSpace/CanvasForm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions