Re: changing contour line color

Hi Yakup,

> I have a question about changing display color. How can I change contour 
> lines color? I have a ContorControl object and I need to change its color 
> from white to black.

You can pass a ConstantMap[] array to some signatures
of DisplayImpl.addReference() and addReferences(). In
this array pass ConstantMaps to Red, Green and Blue
to set the color of your isolines. Map 0.0 to R, G and
B for black.

Good luck,
Bill


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