Skip to content

$createLinearGradient

Creates a linear gradient on the given coordinates.

Parameters

NameDescriptionEnforcedDefault Value
Gradient NameThe name for this gradient.YesNone
X0The X0 coordinate.YesNone
Y0The Y0 coordinate.YesNone
X1The X1 coordinate.YesNone
Y1The Y1 coordinate.YesNone

Example

$createLinearGradient[gradientName;x0;y0;x1;y1]