Class HsvTriplet

    • Method Detail

      • getHex

        public String getHex()
      • getHsv

        public int getHsv()
      • getHueInt

        public int getHueInt()
      • getHueNorm

        public double getHueNorm()
      • getSaturationInt

        public int getSaturationInt()
      • getSaturationNorm

        public double getSaturationNorm()
      • getValueInt

        public int getValueInt()
      • getValueNorm

        public double getValueNorm()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • scaled

        public HsvTriplet scaled​(double scaleHue,
                                 double scaleSaturation,
                                 double scaleValue)
        Parameters:
        scaleHue - Scale for the hue value.
        scaleSaturation - Scale for the saturation value.
        scaleValue - Scale for the lightness value.
        Returns:
        Scales all components by the given factors.
      • of

        public static HsvTriplet of​(double hue,
                                    double saturation,
                                    double value)
      • of

        public static HsvTriplet of​(double[] components)
      • of

        public static HsvTriplet of​(long hue,
                                    long saturation,
                                    long value)