Closed sgallego closed 2 years ago
Hi
This would happen as part of #130. Are you asking for something different from what that issue proposes?
Hi, I ask for something more simple, only to read SvgObject tree but, as you comment, this could be part of #130. Thanks.
Partial duplicate of #130
Ok. I am going to mark this as a duplicate then.
If you need this urgently, there are a couple of ways you can do it yourself.
I hope this is helpful for you until I get the chance to work on #130..
Hi, I have tried 2, but I cannot do it because received objects are package private, so I cannot use them. I have make a test with a fork and it works fine. I will do a pull request when I work more than for a test. Thanks again.
Hi
Thanks for offering a patch. But I probably wouldn't accept it. I am reluctant to add a method that exposes internal objects, and will go away before very long.
I would prefer to wait until I can properly implement it as part of #130.
Please, make SVG.getRootElement public so we can access elements tree and manage it for other purposes, not only for rendering. make public also SvgObject and its subclasses,
Thanks,