Gtk.Gradient.new_radial

function new_radial(x0:Number, y0:Number, radius0:Number, x1:Number, y1:Number, radius1:Number):Gtk.Gradient {
    // Gjs wrapper for gtk_gradient_new_radial()
}

Creates a new radial gradient along the two circles defined by (x0, y0, radius0) and (x1, y1, radius1). Before using the gradient a number of stop colors must be added through Gtk.add_color_stop.

Since 3.0

x0

X coordinate of the start circle

y0

Y coordinate of the start circle

radius0

radius of the start circle

x1

X coordinate of the end circle

y1

Y coordinate of the end circle

radius1

radius of the end circle

Returns

A newly created Gtk.Gradient