Class CSSColorValue

    • Constructor Detail

      • CSSColorValue

        public CSSColorValue​(int r,
                             int g,
                             int b,
                             int a)
      • CSSColorValue

        public CSSColorValue​(int rgba,
                             boolean hasalpha)
      • CSSColorValue

        public CSSColorValue​(float r,
                             float g,
                             float b,
                             float a)
      • CSSColorValue

        public CSSColorValue​(float r,
                             float g,
                             float b)
      • CSSColorValue

        public CSSColorValue​(int r,
                             int g,
                             int b)
      • CSSColorValue

        public CSSColorValue​(Color color)
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Determines if this instance of the object is equals to another Object
        Overrides:
        equals in class Color
        Returns:
        true if the supplied object is equivalent to this object, false otherwise
      • toString

        public String toString()
        Returns a string representation of this Color. This method is intended to be used only for debugging purposes. The content and format of the returned string might vary between implementations. The returned string might be empty but cannot be null.
        Overrides:
        toString in class Color
        Returns:
        a string representation of this Color.