Defines the fluent API for configuring DiagramShapeDefaultsFillGradientSettingsStop
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeDefaultsFillGradientSettingsStopBuilder method.
public DiagramShapeDefaultsFillGradientSettingsStopBuilder(DiagramShapeDefaultsFillGradientSettingsStop<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeDefaultsFillGradientSettingsStop<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeDefaultsFillGradientSettingsStop<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) clears the fill.
public DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.
The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
public DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value for Offset
Returns:DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.
The fill opacity. Ranges from 0 (completely transparent) to 1 (opaque).
public DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Opacity(double value)
The value for Opacity
Returns:DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.