object

GradientStop

Defines a position on a gradient that marks the end of a transition to a new color.

Properties
PropertyTypeRequired
classconstRequired
colorColorRequired
positionUnitIntervalRequired
midPointUnitIntervalRequired

class

Required

Description

no description

Type

const

Value

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

json
"gradientStop"

color

Required

Description

no description

Type

Color

position

Required

Description

A number giving the position of a color stop on the gradient ramp.

midPoint

Required

Description

Specifies the location between two ramp points where there is an equal mix of the two colors. midPoint is a percentage of the distance between two ramp points. The mid point for the last color stop is ignored.

Daruma Feedback