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()
   -  
 
  
  -  
	getColor(double)
   -   Convert a value in the range 0..1 to an RGB color.
 
  
GrayscaleColormap
 public GrayscaleColormap()
  
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