- From: Chris Lilley <chris@w3.org>
- Date: Sat, 22 Sep 2012 19:31:26 +0200
- To: Ian Jacobs <ij@w3.org>
- CC: "W3C(Spatial Stream)" <w3c@spatial-stream.com>, "site-comments@w3.org Comemnts" <site-comments@w3.org>, Douglas Schepers <schepers@w3.org>
On Friday, September 21, 2012, 8:48:29 PM, Ian wrote: IJ> On 21 Sep 2012, at 11:39 AM, W3C(Spatial Stream) wrote: >> Hi Ian, >> In the batik javadoc it uses as an example: >> http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGRect.html >> If you look at: >> http://www.w3.org/2003/01/dom2-javadoc/ >> you will see no mention of org.w3c.dom.svg package? That is because you are looking at the base W3C Document Object Model Level 2 version 1.0 specification, while SVG 1.0 depends on DOM2 and extends it to give SVG specific methods, as documented here: http://www.w3.org/TR/SVG11/java.html the bindings are in this zipfile, (linked from that page) http://www.w3.org/TR/2011/REC-SVG11-20110816/java-binding.zip Note that the individual language bindings are not normative, but the IDL is: http://www.w3.org/TR/SVG11/idl.html so to take your particular example: interface SVGRect { attribute float x setraises(DOMException); attribute float y setraises(DOMException); attribute float width setraises(DOMException); attribute float height setraises(DOMException); }; -- Chris Lilley Technical Director, Interaction Domain W3C Graphics Activity Lead, Fonts Activity Lead Co-Chair, W3C Hypertext CG Member, CSS, WebFonts, SVG Working Groups
Received on Saturday, 22 September 2012 17:31:27 UTC