Defines the fluent API for configuring DiagramShapeConnectorStrokeSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeConnectorStrokeSettingsBuilder method.
public DiagramShapeConnectorStrokeSettingsBuilder(DiagramShapeConnectorStrokeSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeConnectorStrokeSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeConnectorStrokeSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the stroke color.
public DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
The connector stroke dash type.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 DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
The value for DashType
Returns:DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the thickness or width of the shape connectors stroke.
public DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value for Width
Returns:DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.