Defines the fluent API for configuring DiagramConnectionEndCapStrokeSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramConnectionEndCapStrokeSettingsBuilder method.
public DiagramConnectionEndCapStrokeSettingsBuilder(DiagramConnectionEndCapStrokeSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramConnectionEndCapStrokeSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramConnectionEndCapStrokeSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
The connection end cap stroke color.
public DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
The connection end cap 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 DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
The value for DashType
Returns:DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".
public DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
The value for LineCap
Returns:DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".
public DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
The value for LineJoin
Returns:DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
The connection end cap stroke width.
public DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value for Width
Returns:DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.