Changeset 7214


Ignore:
Timestamp:
11/16/10 20:29:13 (9 years ago)
Author:
aivar
Message:

Added new method to generate a color bar. Added javadoc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/slim-plugin/src/main/java/loci/slim/colorizer/IColorize.java

    r7060 r7214  
    4949 
    5050    /** 
    51      * Expresses the value as a Color interpolated between the 
    52      * start and stop values. 
     51     * Expresses the value as a interpolated Color, given the start 
     52     * and stop values. 
    5353     * 
    5454     * @param start 
     
    5959    public Color colorize(double start, double stop, double value); 
    6060 
     61    /** 
     62     * Generates a color bar or ramp. 
     63     * 
     64     * @param pixels 
     65     * @return 
     66     */ 
     67    public Color[] bar(int pixels); 
    6168} 
Note: See TracChangeset for help on using the changeset viewer.