rainbow / com.skydoves.rainbow / Rainbow / getDrawable

getDrawable

fun getDrawable(): GradientDrawable

gets the gradation drawable which composed with palette colors. For Java.

fun getDrawable(orientation: RainbowOrientation = RainbowOrientation.LEFT_RIGHT, @Dp radius: Int = 0): GradientDrawable

gets the gradation drawable which composed with palette colors.