rainbow / com.skydoves.rainbow / Rainbow / foreground

foreground

fun foreground(): Unit

applies gradation effect composed with palette colors to the foreground. For Java.

fun foreground(orientation: RainbowOrientation = RainbowOrientation.LEFT_RIGHT, @Dp radius: Int = 0): Unit

applies gradation effect composed with palette colors to the foreground.