Edit this page

Kendo.Mvc.UI.Fluent.DiagramShapeFillGradientSettingsStopBuilder

Defines the fluent API for configuring the DiagramShapeFillGradientSettingsStop settings.

Methods

Offset(System.Double)

The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).

Parameters

value System.Double

The value that configures the offset.

Color(System.String)

The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill.

Parameters

value System.String

The value that configures the color.

Opacity(System.Double)

The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).

Parameters

value System.Double

The value that configures the opacity.