public interface ColourRamp
| Modifier and Type | Method and Description | 
|---|---|
| int | getColour(float n)Get the colour to use for a value  n. | 
| default java.awt.image.BufferedImage | getPreview(int width,
          int height)Get a preview image of this colour ramp for the range [0.0, 1.0]. | 
| default java.awt.image.BufferedImage | getPreview(int width,
          int height,
          float min,
          float max)Get a preview image of this colour ramp. | 
int getColour(float n)
n.n - The value for which to get the colour.default java.awt.image.BufferedImage getPreview(int width,
                                                int height)
width - The width of the preview image.height - The height of the preview image.default java.awt.image.BufferedImage getPreview(int width,
                                                int height,
                                                float min,
                                                float max)
width - The width of the preview image.height - The height of the preview image.min - The start of the range of values to plot.max - The end of the range of values to plot.