Ejemplo n.º 1
0
 public static ColorScale createDefaultGrayScale() {
   // Make sure the color scale has been initiated before returning
   if (_grayScale == null || _grayScale.isEmpty()) {
     _grayScale = new ColorScale();
     _grayScale.setDefaultGrayScaleValues();
   }
   return (ColorScale) _grayScale.clone();
 }