gradient property

Gradient? gradient
final

If provided, this HorizontalRangeAnnotation draws with this gradient Otherwise we use color to draw the background. It draws with gradient if you provide both color and gradient. If none is provided, it draws with a white color.

Implementation

final Gradient? gradient;