类 SpectrumColormap

  • 所有已实现的接口:
    Colormap

    public class SpectrumColormap
    extends java.lang.Object
    implements Colormap
    A colormap with the colors of the spectrum.
    • 构造器概要

      构造器 
      构造器 说明
      SpectrumColormap()
      Construct a spcetrum color map.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int getColor​(float v)
      Convert a value in the range 0..1 to an RGB color.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • 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