Describes the parameters of gradients in a more basic form.
Property | Type | Required |
---|---|---|
class | const | Required |
gradientType | integer | Required |
stops | Array<GradientStop> | Required |
invert | boolean | Required |
geometry | GradientBasicGeometry | Required |
hilight | GradientHilight | Optional |
overallMatrix | Matrix | Optional |
perpendicularMatrix | Array< | Optional |
Description
no description
Type
const
Value
constant: the value of this property must be equal to:
json"gradientBasic"
Description
no description
Type
integer
Value
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
0 | linear gradient |
1 | radial gradient |
Description
no description
Type
Array<GradientStop>
Value
minimum number of items: the minimum number of items for this array is: 2
Description
The meaning of the gradient vector is different for radial gradients than for linear gradients. The vector origin is the center of the circle containing the radial gradient; the vector length is the radius of the that circle. The vector angle is not used by radial blends, but is preserved and used if the user changes the gradient from radial to linear.
Description
Its parameters are six floating point values, which describe the overall matrix applied to the gradient.
Type