Re: tickmarks and box thickness

Hi John,

> I am wondering how i can change the line thickness of the display box and 
> the tickmarks on the axis.  There are methods like setBoxColor from the 
> DisplayRenderer and setScaleColor from the ScalarMap, but i couldn't find 
> similar methods for line thickness.

There are no convenience methods for changing the line
thickness in these features. However, you can extend
DefaultDisplayRendererJ3D.java and override its
createSceneGraph() method to change the Appearence
used for the box. You might also be able to override
its drawCursorStringVector() method (defined in
DisplayRendererJ3D) and change the Appearence used
for AxisScales. Let us know if you need to make
variables or methods public in the extended classes.

Cheers,
Bill


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