类 SpectrumColormap

  • 所有已实现的接口:
    Colormap

    public class SpectrumColormap
    extends Object
    implements Colormap
    A colormap with the colors of the spectrum.
    • 构造器详细资料

      • SpectrumColormap

        public SpectrumColormap()
        Construct a spcetrum color map.
    • 方法详细资料

      • getColor

        public int getColor​(float v)
        Convert a value in the range 0..1 to an RGB color.
        指定者:
        getColor 在接口中 Colormap
        参数:
        v - a value in the range 0..1
        返回:
        an RGB color