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