addStop

Adds a color stop to the gradient. Inherited from Gradient.addStop

Parameters

offset Number
color StringThe color of the stop.
opacity NumberThe fill opacity.

Returnskendo.drawing.GradientStop The new gradient color stop.

In this article