thomas.deweese wrote:
>
> Hi Peppe,
>
> Peppe <[EMAIL PROTECTED]> wrote on 11/20/2006 06:51:51 AM:
>
>> Hi, i would modified only fill color of selected shape (shape has many
> values
>> in style attribute), but fill is in style attribute...how can i modified
> it
>> leaving unchanged other value of style attribute?
>
> You need to use the DOM Level 2 Style interfaces:
> http://www.w3.org/TR/DOM-Level-2-Style/java-binding.html
>
> In particular something like:
> String val = element.getStyle().getPropertyValue("fill");
> and
> element.getStyle().setProperty("fill", "blue", "")
>
>
I tried to use the dom level 2 style but i don't understand how do it,
because getStyle is a method of SVGStylable class but i have to modify an
element...
--
View this message in context:
http://www.nabble.com/getAttribute-style-tf2668578.html#a7501049
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]