>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to