xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Ayers" <danny...@virgilio.it>
Subject RE: repaint
Date Sun, 12 May 2002 13:54:22 GMT

>DH> Sorry, I still cannot get this to work.  When I tried to use
>DH> elem1.setAttribute("style",
>DH> "fill:red;visibility:visible;opacity:2;");, it returned back with
>DH> an error: Unsupported attribute modification: style on rec.
>DH> (elem1 is a rectangle)
>
>    I don't know if this is it, but opacity is only 0->1.  2 is an
>invalid value.

The spec (F.4) recommends that implementations should clamp out-of-range
values to something legal, so in this case an opacity of 2 would be
interpreted as an opacity of 1. I don't know if Batik does this.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message