You'll need to add your line height to the current y value if the text lines
are to be in normal paragraph layout. However, your comment about the "two
columns" implies that you really meant the x value. If that is the case,
decide where you want the column split to occur and set the new x value to
this number.
Tim
--
Tim Jones tjmac at tolisgroup dot com
Quoting Jan Erik Moström <lists at mostrom dot pp dot se>:
> Probably a stupid question: if I have used
> g.drawString(someString,x,y,width)
> to draw some text, how do I get the y position after the text has been
> written.
>
> (I want to draw a number of strings in two columns)
>
>
> jem
> --
> Jan Erik Moström www.mostrom.pp.se
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://www.realsoftware.com/listarchives/lists.html>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|