Defines the fluent API for configuring the DiagramShapeConnectorDefaultsStrokeSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
Initialize the DiagramShapeConnectorDefaultsStrokeSettingsBuilder
public DiagramShapeConnectorDefaultsStrokeSettingsBuilder(DiagramShapeConnectorDefaultsStrokeSettings settings)
Methods
Defines the stroke color.
public DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value that configures the color.
Returns:DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
The dash type of the stroke.The following dash types are supported: "dash" - A line that consists of dashes; "dashDot" - A line that consists of a repeating pattern of dash-dot; "dot" - A line that consists of dots; "longDash" - A line that consists of a repeating pattern of long-dash; "longDashDot" - A line that consists of a repeating pattern of long-dash-dot; "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot or "solid" - A solid line.
public DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
The value that configures the dashtype.
Returns:DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the thickness or width of the shape connectors stroke.
public DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>