Closed frankvdh closed 4 months ago
After perusing the source code, it seems the correct usage is:
StyleAttribute style = new StyleAttribute();
style.setName("fill");
svgElement.getStyle(style);
double value = style.getDoubleValue();
I've updated the docs. Thanks.
Documentation at https://github.com/blackears/svgSalamander/blob/master/doc/usingSvgSalamander.md includes the following example to get the style of an SVGElement, but it doesn't work.... getStyle does not accept a String parameter. Uing v1.1.4 of SVG Salamander