Looked through the code you suggested and also JSVGComponent.java. Just want
to clarify my understanding of the bridge workaround to get a text string
pixel width. Tell me where I am right and wrong in my assumptions. I am
currently assuming the following:
1. that I need to use the constructor
Thanks for the clarification and workarounds. I will pursue both of these
strategies
to see which one meets my needs.
Dave
-Original Message-
From: Thomas E Deweese [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 7:18 AM
To: Batik Users
Subject: RE: createElementNS and and get
Hello!
I took a look at the link below which has some code for generating a rect
element:
http://xml.apache.org/batik/domapi.html
// create the rectangle
Element rectangle = doc.createElementNS(svgNS, "rect");
rectangle.setAttributeNS(null, "x", "10");
rectangle.setAttributeNS(null, "y", "20");