setLinearShader

fun setLinearShader(colors: List<Color>)

Sets a color list as a linear shader to the paint.