Skip to content

Adding attributes other than ID to a group tag #42

Answered by jfree
huynhj02 asked this question in Q&A
Discussion options

You must be logged in to vote

That's not supported at present but I suppose the rendering hint SVGHints.KEY_BEGIN_GROUP could be modified to support it. Right now it expects a String instance for the value and uses that as the group ID. It could check for an instance of Map<String, String> and consider each entry in the map to be an attribute-value pair and simply write those into the SVG output. Would that work for you?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@huynhj02
Comment options

@huynhj02
Comment options

@jfree
Comment options

@huynhj02
Comment options

Answer selected by huynhj02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants