Class AbstractCIEColor

    • Field Detail

      • values

        protected float[] values
        The three color values.
      • whitepoint

        protected float[] whitepoint
        The white point, initialized to D50.
    • Constructor Detail

      • AbstractCIEColor

        protected AbstractCIEColor​(float[] components,
                                   float[] whitepoint)
        Creates a new CIE-based color.
        Parameters:
        components - the color components
        whitepoint - the white point in CIE XYZ coordinates
    • Method Detail

      • getColorValues

        public float[] getColorValues()
        Returns the color values.
        Returns:
        the color values
      • getWhitePoint

        public float[] getWhitePoint()
        Returns the white point in CIE XYZ coordinates.
        Returns:
        the white point in CIE XYZ coordinates
      • getFunctionName

        public abstract java.lang.String getFunctionName()
      • getCssText

        public java.lang.String getCssText()
        A string representation of the current value.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object