Defines the fluent API for configuring DiagramShapeFillSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeFillSettingsBuilder method.
public DiagramShapeFillSettingsBuilder(DiagramShapeFillSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeFillSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeFillSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the center of the radial gradient. The coordinates are relative to the shape bounding box. For example, [0, 0] is top left and [1, 1] is bottom right.
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Center(params double[] value)
The value that configures the center.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
The DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> instance to allow method chaining.
Defines the fill color of the shape.
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the end of the radial gradient.Coordinates are relative to the shape bounding box. For example, [0, 0] is top left and [1, 1] is bottom right.
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> End(params double[] value)
The value that configures the end point.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
The DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> instance to allow method chaining.
Defines the gradient fill of the shape.
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Gradient(Action<DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> for the gradient setting.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> .
Defines the fill opacity of the shape.
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Opacity(double value)
The value for Opacity
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the start of the radial gradient.The coordinates are relative to the shape bounding box. For example, [0, 0] is top left and [1, 1] is bottom right.
public DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> Start(params double[] value)
The value that configures the start point.
Returns:DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel>
The DiagramShapeFillSettingsBuilder<TShapeModel, TConnectionModel> instance to allow method chaining.