Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing a text in vertical position (tilting/rotating by 90 degress)

 
Tanveer Rameez
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I want to have a text which is tilted/rotated 90 degress to the left/right. In other words the text should be vertically oriented. But my definition of vertically oriented means even each character of the text is also rotated.
I cannot do a rotation of the whole Graphics component becuase there are also other drawing and text in that Graphics component which are not to be rotated. I don't want to use Images or any components like Labels to display those titled texts. Also it would be better if there are ways to have text tilted by any angle or arched. BUt first I want to know how to title a text by 90 degrees.
regards
Tanveer
 
Juanjo Bazan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope this address help you:
http://www.macdevcenter.com/pub/a/mac/2002/03/22/vertical_text.html
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to take a look at Sun's tutorial on Transforming Shapes, Text, and Images.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic