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