open class RainbowView : View
RainbowView represents gradation effect using colors.
<init> |
RainbowView(context: Context) RainbowView(context: Context, attributeSet: AttributeSet) RainbowView(context: Context, attributeSet: AttributeSet, defStyle: Int) |
orientation |
var orientation: RainbowOrientation |
radius |
var radius: Int |
addColor |
adds color to the gradation color set. fun addColor(color: Int): Unit |
onFinishInflate |
open fun onFinishInflate(): Unit |
removeColor |
removes color from the gradation color set. fun removeColor(index: Int): Unit |
shuffleColors |
shuffles gradation colors in the color set. fun shuffleColors(): Unit |