Class ColorUtilsKt

  • All Implemented Interfaces:

    
    public final class ColorUtilsKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Integer adjustColorBrightness(Integer color, Float factor) Used for gradient color adjustment when the user doesn't have an image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • adjustColorBrightness

         final static Integer adjustColorBrightness(Integer color, Float factor)

        Used for gradient color adjustment when the user doesn't have an image.

        Parameters:
        color - The color to adjust.
        factor - The factor by which we adjust the color.
        Returns:

        Int ARGB value of the color after adjustment.