Java / Batik, modifing attribute in java, updating SVG DOM -


i have redendered svg document several symbols. in java application modify attribute in dom changing stop-color attribute using setattributens.

i can see attribute modified , changes new value, svg document render not reflect change.

if same in browser using javascript, dom updates , change visible. there need batik render reflect changes in dom?

edit: in addition being able modify attributes in java , see updates. have seen other behaviour works in browser same svg file doesn't in java application. example using browser dom debugger, can modify stop-color attribute of lineargradient , see change in browser, using script or java in batik application doesn't work, no change seen.

edit2: have found if change fill attribute of element using lineargradient, modify stop-color attribute of linergradient, change fill attribute lineargradient works, not if leave fill attribute unmodified. behaviour in batik.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -