add

Adds color stops to the gradient in the pairs list being the left of the pair the ratio between 0.0 and 1.0, and the right of the pair the Color


Adds colors c0 and c1 to the gradient equidistantly


Adds colors c0, c1 and c2 to the gradient equidistantly


fun GradientPaint.add(c0: RGBA, c1: RGBA, c2: RGBA, c3: RGBA): GradientPaint

Adds colors c0, c1, c2 and c3 to the gradient equidistantly


inline fun <T : RGBA> GradientPaint.add(vararg colors: T): GradientPaint

Adds colors to the gradient equidistantly