Class ColorInfo


  • public class ColorInfo
    extends Object
    An object providing additional metadata describing color attributes.
    • Constructor Detail

      • ColorInfo

        public ColorInfo()
    • Method Detail

      • dominantColorForeground

        public String dominantColorForeground()
        Get the dominantColorForeground value.
        Returns:
        the dominantColorForeground value
      • withDominantColorForeground

        public ColorInfo withDominantColorForeground​(String dominantColorForeground)
        Set the dominantColorForeground value.
        Parameters:
        dominantColorForeground - the dominantColorForeground value to set
        Returns:
        the ColorInfo object itself.
      • dominantColorBackground

        public String dominantColorBackground()
        Get the dominantColorBackground value.
        Returns:
        the dominantColorBackground value
      • withDominantColorBackground

        public ColorInfo withDominantColorBackground​(String dominantColorBackground)
        Set the dominantColorBackground value.
        Parameters:
        dominantColorBackground - the dominantColorBackground value to set
        Returns:
        the ColorInfo object itself.
      • dominantColors

        public List<String> dominantColors()
        Get the dominantColors value.
        Returns:
        the dominantColors value
      • withDominantColors

        public ColorInfo withDominantColors​(List<String> dominantColors)
        Set the dominantColors value.
        Parameters:
        dominantColors - the dominantColors value to set
        Returns:
        the ColorInfo object itself.
      • accentColor

        public String accentColor()
        Get the accentColor value.
        Returns:
        the accentColor value
      • withAccentColor

        public ColorInfo withAccentColor​(String accentColor)
        Set the accentColor value.
        Parameters:
        accentColor - the accentColor value to set
        Returns:
        the ColorInfo object itself.
      • isBWImg

        public boolean isBWImg()
        Get the isBWImg value.
        Returns:
        the isBWImg value
      • withIsBWImg

        public ColorInfo withIsBWImg​(boolean isBWImg)
        Set the isBWImg value.
        Parameters:
        isBWImg - the isBWImg value to set
        Returns:
        the ColorInfo object itself.