Class ColorImpl

    • Constructor Detail

      • ColorImpl

        public ColorImpl​(byte[] rgb)
      • ColorImpl

        public ColorImpl​(byte r,
                         byte g,
                         byte b)
      • ColorImpl

        public ColorImpl​(java.lang.String htmlColor)
    • Method Detail

      • getHtmlColor

        public java.lang.String getHtmlColor()
        Description copied from interface: SColor
        Gets the color html string expression, for example "#FF6622"
        Returns:
      • getRGB

        public byte[] getRGB()
        Description copied from interface: SColor
        Gets the color types array, order by Red,Green,Blue
        Returns:
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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

        public byte[] getARGB()
        Description copied from class: AbstractColorAdv
        Returns byte array in Alpha, Red, Green, Blue order
        Specified by:
        getARGB in class AbstractColorAdv
        Returns: