private var colors intArrayOf Color BLUE Color RED Color RED Color RED

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
private var colors = intArrayOf(
Color.BLUE,
Color.RED,
Color.RED,
Color.RED,
Color.GREEN,
Color.GREEN,
Color.BLUE
)
private var ratio = floatArrayOf(
0f,
0.03f,
0.35f,
0.4f,
0.65f,
0.70f,
0.85f
)