object

GradientHilight

Radial gradients have an additional attribute called a hilight. The hilight serves at the starting point for the gradient ramp as it expands outward. It is still contained within the gradient vector circle.

Properties
PropertyTypeRequired
classconstRequired
xHilightnumberRequired
yHilightnumberRequired
anglenumberRequired
lengthUnitIntervalRequired

class

Required

Description

no description

Type

const

Value

constant: the value of this property must be equal to:

json
"gradientHilight"

xHilight

Required

Description

xHilight and yHilight specify the hilight placement, in x and y offsets from the gradient vector origin.

Type

number

yHilight

Required

Description

Refer to xHilight for details.

Type

number

angle

Required

Description

This argument is the angle (in degrees) to the hilight point, measured counterclockwise from the x axis.

Type

number

length

Required

Description

This argument is the distance of the hilight from the origin, expressed as a fraction of the radius—a value between 0 and 1.

Daruma Feedback