On Sun, 10 Jul 2005 12:52:34 -0400, Thomas DeWeese wrote:

>    Instead of using the internal Batik interfaces you should use
>the CSS DOM interfaces.  The basic gist of this is:
>
>       ((SVGStylable)elem).getStyle().setProperty("fill", "red", "");
>
>    You can also use this to get the value of the property as a string:
>
>       ((SVGStylable)elem).getStyle().getPropertyValue("fill");
>
>   or
>
>       ((SVGStylable)elem).getStyle().getCSSValue("fill");
>
>   Which returns a CSSValue which is kind of complex but gives some
>a more 'parsed' version of the value (a CSSValue).
>


Hello Thomas,

Thank you for your answer. This gets me one step further in retriving this 
value. The last step would be to have an easy way to convert this String-
Value to a Java (Color-)object (and vice versa). But I think I can do this on 
my own if necessary.

Thanks.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to