Hi,

On Tue, 2005-09-13 at 16:28 -0300, Ing. Angel Monticelli wrote:
> Hi Tonny!
> 
> I'm trying this code but I can't make it works... Please gime a hand! :D
> 
> Shape shapTxt;
> TextLayout txtTl = new TextLayout("Hello World!", new
> Font("BernhardFashion BT", 1, 96), new FontRenderContext(null, false,
> false));
> 
> ... And then?? How can I use  GraphicsNode???

Maybe you can use something like this

SVGShape svgShape = ....
shapTxt = txtTl.getOutline();
Element e = svgShape.toSVG(java2dShape);

Check the SVGShape doc for more info on how it convert to SVG.

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


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

Reply via email to