Hello,

I'd like to wrap a text label around an arbitrary shape.

I'm working on a server-side Java-based cartographic application. In
short it generates road maps. It's working quite well, but now I would
like to display the name of each road, and I need them to wrap around
the shape of the road, like in any good mapping app like MapQuest.

At first, I though of computing the orientation and the length of each
road segment and calling drawstring with an adequate substring of the
name. But after a good look at the APIs and online examples, I thinking
that I might be better off using a custom GlyphVector. What do you think
?

Or maybe there is an open-source project with this functionnality?

Best Regards,
-- 
David Garnier <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: PGP signature

Reply via email to