All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.jhlabs.image.GrayscaleColormap
java.lang.Object
   |
   +----com.jhlabs.image.GrayscaleColormap
  -  public class GrayscaleColormap
  -  extends java.lang.Object
  -  implements com.jhlabs.image.Colormap, java.io.Serializable
A grayscale colormap. Black is 0, white is 1.
   
  -   GrayscaleColormap() GrayscaleColormap()
-  
   
  -   getColor(double) getColor(double)
-   Convert a value in the range 0..1 to an RGB color.
   
 GrayscaleColormap
GrayscaleColormap
 public GrayscaleColormap()
   
 getColor
getColor
 public int getColor(double v)
  -  Convert a value in the range 0..1 to an RGB color.
   
- 
    -  Parameters:
    
-  v - a value in the range 0..1
    
-  Returns:
    
-  an RGB color
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index