Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: shape thickness

Hi Leah,

> I'm using VisADLineArray to draw shapes on my data fields.
> But, I'd like the shapes to have thicker lines.  Any idea
> how to do this?

You can do it with a ConstantMap to LineWidth, such as:

    ConstantMap[] cmaps = {new ConstantMap(3.0, Display.LineWidth)};
    display.addReference(ref, cmaps);

where ref is the DataReferenceImpl to the Data that includes RealTypes
mapped to Shape.

Good luck,
Bill


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: