Re: text

The simplest way is from Jython, using the drawString method in

def drawString(display, string, point, color=None, center=0, font="futural",
                 start=[0.,0.,0.], base=[.1,0.,0.], up=[0.,.1,0.],size=None ):

If you're using Java, then you might look at example PlotText.render_label() will return a VisADLineArray which you can use as a Shape and add it to your display.


Kapper Michael G Contr AFRL/PRSA wrote:

What is the simplest way to display text string on a VisAD display at any location?

Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Phone/VoiceMail: 608.262.2759

  • References:
    • text
      • From: Kapper Michael G Contr AFRL/PRSA
  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: