Recolor

constructor(drawable: S, toColor: PolyColor, animation: Animation? = null, onFinish: S.() -> Unit? = null)

Parameters

toColor

The color to change the component to.

animation

The animation to use.

onFinish

The callback function to execute when the color change animation finishes.