Kevin Maione wrote:

I am trying to implement the suggestion Thomas made in the previous note but was hoping for some guidance...

SVGRect bbox = textElement.getBBox();
//I've got a non-null bounding box here so I'm hoping I'm ok...
System.out.println( bbox +" height="+ bbox.getHeight() + " width="+bbox.getWidth() );
Element circle = svg.getElementById("circle");
System.out.println( circle );
//I am trying to figure out how to get the shape node
> // representing the circle so I can apply
//Thomas's suggestion...

Hi Kevin,


Try this:

             GraphicsNode gn = ctx.getGraphicsNode(circle);
             ShapeNode sn = (ShapeNode)gn; // could be done above.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to