SVG Clipping Text

LDCV
06-07-2004, 09:28 AM
Hi everybody. I have another problem using SVG. I have to show some messages as labels, but sometimes the messages contain text too long. How can I implement a kind of clipping or any algorithm that shows just a part of the text in a specified boundary or an automatic New Line algorithm...

Anonymous
06-07-2004, 09:44 AM
You can use clipPath element and clip-path property to show text only in area choosed.
To wrap text see script at
http://pilat.free.fr/english/routines/text_wrap.htm
or best
wait for release of ASV6 to use flowText ( flowRoot now ... ) of SVG 1.2

Michel

 
Web mp2kmag.com
mapforums.com

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum