Gradient.newRadial

gtk.gradient.Gradient newRadial(double x0, double y0, double radius0, double x1, double y1, double radius1)

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.gradient.Gradient.addColorStop].

Parameters

x0X coordinate of the start circle
y0Y coordinate of the start circle
radius0radius of the start circle
x1X coordinate of the end circle
y1Y coordinate of the end circle
radius1radius of the end circle

Returns

A newly created #GtkGradient

Deprecated

#GtkGradient is deprecated.