Article View: borland.public.jbuilder.java.swing
Article #8315Re: rotating the text
From: John McGrath TeamB
Date: Tue, 03 Oct 2000 00:00
Date: Tue, 03 Oct 2000 00:00
17 lines
839 bytes
839 bytes
On Mon, 2 Oct 2000 16:04:31 +0200, Petr Valasek wrote:
> Is there any way to draw the string 90 degrees rotated?
Yes, using Graphics2D.
g.rotate( theta );
g.drawString( .... );
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.144353e2d8c7ca18989bb9@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8ra3v5$dr17@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,60b6b2f445973686 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: rotating the text Date: 2000/10/03 Message-ID: <MPG.144353e2d8c7ca18989bb9@forums.borland.com> X-Deja-AN: 676955570 References: <8ra3v5$dr17@bornews.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing