类 HSL


  • public class HSL
    extends java.lang.Object
    作者:
    Yaqiang Wang
    • 构造器概要

      构造器 
      构造器 说明
      HSL()
      Constructor
      HSL​(double h, double s, double l)
      Constructor
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      double getH()
      Get hue
      double getL()
      Get luminance
      double getS()
      Get saturation
      void setH​(double h)
      Set hue
      void setL​(double l)
      Set luminance
      void setS​(double s)
      Set saturation
      • 从类继承的方法 java.lang.Object

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

      • HSL

        public HSL()
        Constructor
      • HSL

        public HSL​(double h,
                   double s,
                   double l)
        Constructor
        参数:
        h - Hue
        s - Saturation
        l - Luminance
    • 方法详细资料

      • getH

        public double getH()
        Get hue
        返回:
        Hue value
      • setH

        public void setH​(double h)
        Set hue
        参数:
        h - Hue
      • getS

        public double getS()
        Get saturation
        返回:
        Saturation
      • setS

        public void setS​(double s)
        Set saturation
        参数:
        s - Saturation
      • getL

        public double getL()
        Get luminance
        返回:
        Luminance
      • setL

        public void setL​(double l)
        Set luminance
        参数:
        l - Luminance