xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TJ Teegan" <tjtee...@hotmail.com>
Subject Problem Using the getIntersectionList method
Date Thu, 07 Oct 2004 18:08:00 GMT

I am trying to find all the elements in a given area.  I am assuming I 
should be using the getIntersectionList method, however I must be using it 
incorrectly because I always get a java.lang.Error when I call it.

Here is an example of the code I am using:

public NodeList myMethod(){
     SVGRect rect;
     SVGElement ele;
     NodeList nodes;

     rect = SVGDocument.getRootElement().createSVGRect();
     ele = SVGDocument.getRootElement();
     nodes = SVGDocument.getRootElement().getIntersectionList(rect, ele);
     return nodes;

I apologize if this has been covered else where.  I searched the mail list 
archive but was unsuccessful in finding an answer.  Any help is appreciated.

Thank you,
TJ Teegan

Check out Election 2004 for up-to-date election news, plus voter tools and 
more! http://special.msn.com/msn/election2004.armx

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

View raw message