Defines the fluent API for configuring DiagramShapeDefaultsFillSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeDefaultsFillSettingsBuilder method.
public DiagramShapeDefaultsFillSettingsBuilder(DiagramShapeDefaultsFillSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeDefaultsFillSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeDefaultsFillSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the fill color of the shape.
public DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the gradient fill of the shape.
public DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> Gradient(Action<DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> for the gradient setting.
Returns:DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> .
Defines the fill opacity of the shape.
public DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> Opacity(double value)
The value for Opacity
Returns:DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> instance.