Gradient.newRadial

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.

More...
class Gradient
static
newRadial
(
double x0
,
double y0
,
double radius0
,
double x1
,
double y1
,
double radius1
)

Parameters

x0 double

X coordinate of the start circle

y0 double

Y coordinate of the start circle

radius0 double

radius of the start circle

x1 double

X coordinate of the end circle

y1 double

Y coordinate of the end circle

radius1 double

radius of the end circle

Return Value

Type: gtk.gradient.Gradient

A newly created #GtkGradient

Detailed Description

Deprecated: #GtkGradient is deprecated.