类 GrayscaleColormap

  • 所有已实现的接口:
    Colormap

    public class GrayscaleColormap
    extends java.lang.Object
    implements Colormap
    A grayscale colormap. Black is 0, white is 1.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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
    • 构造器详细资料

      • GrayscaleColormap

        public GrayscaleColormap()
    • 方法详细资料

      • 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