Defines the fluent API for configuring the DiagramConnectionDefaultsStrokeSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramConnectionDefaultsStrokeSettingsBuilder(DiagramConnectionDefaultsStrokeSettings settings)
Methods
Defines the default stroke color of the connection.
public DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value that configures the color.
Returns:DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".
public DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
The value that configures the line cap.
Returns:DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".
public DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
The value that configures the line join.
Returns:DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default stroke width of the connection.
public DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>