Re: "high-level" way to create SVG Elements of specific type?

[email protected]
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
> Hi Marco,
>    I think you are wrong.  You can do something like:
>      rect.x.baseVal.value = 10
> or
>     rect.x.baseVal.newValueSpecifiedUnits(SVG_LENGTHTYPE_PX, 10)
>
>    The raises specifications in the IDL are because some instances of
> SVGAnimatedLength
> and SVGLength are readonly, so attempts to set those will result in
> exceptions.

Ah thanks! I must have overlooked this. Seems to me like a good way.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.