I am developing an Applet Application in which there is a filled Circle done with the method fillOval() now i want to place a String in that circle that fits exactly in the cirle. I think there may be an option of Wrap like that
Thanks in advance...Sorry for my poor english
Thanks & Regards<br />Sunesh Kumar Baachu
posted 11 years ago
I don't think there is an option to auto-wrap text you want to draw in a Graphics object. You can, however, find out how big text would be (in terms of pixels) by using the FontMetrics class, and scale or wrap it accordingly.
Won't you be my neighbor? - Fred Rogers. tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads