Skip to content

$createRadialGradient

Creates a radial gradient using the size and coordinates of two circles.

Parameters

NameDescriptionEnforcedDefault Value
Gradient NameThe name for this gradient.YesNone
X0The x-axis coordinate of the start circle.YesNone
Y0The y-axis coordinate of the start circle.YesNone
Radius 0The radius of the start circle. Must be non-negative and finite.YesNone
X1The x-axis coordinate of the end circle.YesNone
Y1The y-axis coordinate of the end circle.YesNone
Radius 1The radius of the end circle. Must be non-negative and finite.YesNone

Example

$createRadialGradient[gradientName;x0;y0;radius0;x1;y1;radius1]