Sign In

$newLinearGradient[]

Creates a linear gradient

v1.0.0+ Requires Brackets

Usage

$newLinearGradient[;;;;;]
Also callable as
$createLinearGradient $linearGradient

Arguments

NameTypeRequiredDescription
name
StringYesName of the new gradient
x1
NumberYesThe X coordinate of the start point
y1
NumberYesThe Y coordinate of the start point
x2
NumberYesThe X coordinate of the end point
y2
NumberYesThe Y coordinate of the end point
...stops
NumberNoThe gradient's color stops

Was this page helpful?