Gradient.addColorStop

Warning gtk_gradient_add_color_stop has been deprecated since version 3.8 and should not be used in newly-written code. GtkGradient is deprecated. Adds a stop color to gradient.

class Gradient
void
addColorStop

Parameters

offset double

offset for the color stop

color SymbolicColor

color to use Since 3.0

Meta