Class ColorImpl

    • Constructor Detail

      • ColorImpl

        public ColorImpl​(byte[] rgb)
      • ColorImpl

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

        public ColorImpl​(String htmlColor)
    • Method Detail

      • getHtmlColor

        public 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 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: