Defines the fluent API for configuring the DiagramShapeFillSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
C#
public class DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
C#
public DiagramShapeFillSettingsBuilder(DiagramShapeFillSettings settings)
Methods
Defines the fill color of the shape.
C#
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value that configures the color.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Defines the gradient fill of the shape.
C#
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Gradient(Action<DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the gradient.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Defines the fill opacity of the shape.
C#
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Opacity(double value)
The value that configures the opacity.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>