0

Is there any way to get the "shape" representing a character using Java.

I know about the getOutling() of the GlyphVector class. But it returns the outline of the character.

What I require is not the outline, but a single line shape depicting the character.

shank
  • 21
  • 1
  • 3

1 Answers1

0

I had faced a similar problem some time back. Because characters are only defined by there area (outline), may be you can use a thin font and get the Outline and use it as shape.

Community
  • 1
  • 1
Deep
  • 5,772
  • 2
  • 26
  • 36
  • I need to draw some specific art along the path of the text so that it appears that the whole text is made up of that art only. The outline shape wont be ok. I believe that even the thin fonts will give me an outline which shall consist of 2 shapes combined (inner shape +outer shape) – shank Nov 22 '12 at 14:00
  • Did you at least try with thin font, may be two overlapping art are fine! – Deep Nov 22 '12 at 17:23