Defines the fluent API for configuring DiagramShapeFillGradientSettingsStop
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
DiagramShapeFillGradientSettingsStopBuilder method.
public DiagramShapeFillGradientSettingsStopBuilder(DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel> Container { get; }
Methods
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.
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.
The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value for Offset
Returns:DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.
The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Opacity(double value)
The value for Opacity
Returns:DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.