Sign In

$newConicGradient[]

Creates a conic gradient

v1.0.0+ Requires Brackets

Usage

$newConicGradient[;;;;]
Also callable as
$createConicGradient $conicGradient

Arguments

NameTypeRequiredDescription
name
StringYesName of the new gradient
start
NumberYesThe angle at which to begin the gradient, in radians. The angle starts from a line going horizontally right from the center, and proceeds clockwise
x
NumberYesThe X coordinate of the center of the gradient
y
NumberYesThe Y coordinate of the center of the gradient
...stops
NumberNoThe gradient's color stops

Was this page helpful?