Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q4073 How can I get text to lean (at about 60 degrees) using Java?

irt.org | Knowledge Base | Java | Q4073 [ previous next ]

Q4073 How can I get text to lean (at about 60 degrees) using Java?

All you have to do is to have all the images of alphabets lowercase and uppercase. Then using some image editor change their orientation by 60 degrees. Design some convention for identifying both lower and uppercase letters and each letter individually.

Once you are ready with that logic of randomly identifying the letter, then you can start with your paint algorithm which will paint the applet with the sequence of words you want.

All you have consider is the co-ordinate system , you have to decide on the start and end point off your applet. Keep on painting the letters with proper x and y values on the applet so that they appear in the way you want.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.