Re: background color

Hi Omar,

Can we change the background color of the display from
black to another color ?

Try this:

     DisplayRenderer renderer = display.getDisplayRenderer();
     renderer.setBackgroundColor(1.0f, 1.0f, 1.0f); // white
     renderer.setBoxColor(0.0f, 0.0f, 0.0f); // black

-Curtis


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