Class ColorCieLuv


  • public final class ColorCieLuv
    extends java.lang.Object
    Represents a color in the CIELUV color space..

    Contains the constant values for black, white, red, green, and blue.

    Since:
    1.0-alpha1
    See Also:
    https://en.wikipedia.org/wiki/CIELUV
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorCieLuv​(double L, double u, double v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • BLACK

        public static final ColorCieLuv BLACK
        A constant for color black. Color components are:
             L: 0.000
             u: 0.000
             v: 0.000
         
      • WHITE

        public static final ColorCieLuv WHITE
        A constant for color white. Color components are:
             L: 100.000
             u:   0.000
             v:  -0.017
         
      • RED

        public static final ColorCieLuv RED
        A constant for color red. Color components are:
             L:  53.233
             u: 175.053
             v:  37.751
         
      • GREEN

        public static final ColorCieLuv GREEN
        A constant for color green. Color components are:
             L:  87.737
             u: -83.080
             v: 107.401
         
      • BLUE

        public static final ColorCieLuv BLUE
        A constant for color blue. Color components are:
             L:   32.303
             u:   -9.400
             v: -130.358
         
      • L

        public final double L
      • u

        public final double u
      • v

        public final double v
    • Constructor Detail

      • ColorCieLuv

        public ColorCieLuv​(double L,
                           double u,
                           double v)
    • Method Detail

      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object