GradientStop.offset Property

Gets or sets the offset of the stop.
 

Property Value

Type: Number
A value between 0 and 1 which specifies the percentage position of the offset along the gradient axis.