Defines the fluent API for configuring DiagramConnectionStrokeSettings
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
DiagramConnectionStrokeSettingsBuilder method.
public DiagramConnectionStrokeSettingsBuilder(DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the stroke or line color of the connection.
public DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the line join style of the stroke. Supported values are "butt", "round", and "square".
public DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
The value for LineCap
Returns:DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".
public DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
The value for LineJoin
Returns:DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the stroke width of the connection.
public DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value for Width
Returns:DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.