RE: p.s., Re: slider for z-axis mapping

On Thu, 24 Apr 2003, Walter, Chris G wrote:

> Oh, I forgot one small? unrelated question.
>
> Is it possible to change the plotting background from black
> to white?
> I have tried all kinds of setBackground() methods in the panel, etc.
> But have not hit on the right one.
> I thought I might see some color option in the DataImpl class?

Use:

  display..getDisplayRenderer().setBackgroundColor(red, green, blue);

where red, green and blue are floats in the range (0.0f, 1.0f).

Please send all questions to visad-list@xxxxxxxxxxxxx,
rather than to me personally.

Bill


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