text ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

text ?

Thomas Boudier
Hi,

Quite silly question : where is the command to draw Text ?
(using ImageJ 1.44j on linux 64-bits).

Thanks

Thomas

--
   /**********************************************************/
      Thomas Boudier, MCU Université Pierre et Marie Curie,
      IFR 83. Bat B 7ème étage, porte 709, Jussieu.
      Tel : 01 44 27 20 13  Fax : 01 44 27 22 91
/*******************************************************/
Reply | Threaded
Open this post in threaded view
|

Re: text ?

Gabriel Landini
On Friday 19 Nov 2010  11:58:23 you wrote:
> Quite silly question : where is the command to draw Text ?
> (using ImageJ 1.44j on linux 64-bits).

drawString("text", x, y)
 Draws text at the specified location. Call setFont() to specify the font.
Call setJustification() to have the text centered or right justified. Call
getStringWidth() to get the width of the text in pixels. Refer to the TextDemo
macro for examples.

Cheers

G.
Reply | Threaded
Open this post in threaded view
|

Re: text ?

Thomas Boudier
In reply to this post by Thomas Boudier
Hi,

Humm I was simply looking for a T icon, not a A, sorry.

Thomas


Le 19/11/2010 12:34, Thomas Boudier a écrit :
> Hi,
>
> Quite silly question : where is the command to draw Text ?
> (using ImageJ 1.44j on linux 64-bits).
>
> Thanks
>
> Thomas
>

--
   /**********************************************************/
      Thomas Boudier, MCU Université Pierre et Marie Curie,
      IFR 83. Bat B 7ème étage, porte 709, Jussieu.
      Tel : 01 44 27 20 13  Fax : 01 44 27 22 91
/*******************************************************/