Defines the fluent API for configuring the DiagramShapeFillGradientSettingsStop settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeFillGradientSettingsStopBuilder(DiagramShapeFillGradientSettingsStop settings)
Methods
Defines the color. The option accepts a valid CSS color string, including HEX and Rgb.
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Color(string value)
The value that configures the color.
Returns:DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Defines the stop offset from the start of the element. The range is from 0 (start of gradient) to 1 (end of gradient).
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value that configures the offset.
Returns:DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Defines the fill opacity. The range is from 0 (completely transparent) to 1 (completely opaque).
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Opacity(double value)
The value that configures the opacity.
Returns:DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>