New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring DiagramConnectionDefaultsEndCapStrokeSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

DiagramConnectionDefaultsEndCapStrokeSettingsBuilder method.

C#
public DiagramConnectionDefaultsEndCapStrokeSettingsBuilder(DiagramConnectionDefaultsEndCapStrokeSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramConnectionDefaultsEndCapStrokeSettings<TShapeModel, TConnectionModel>

Properties

Container member.

C#
protected DiagramConnectionDefaultsEndCapStrokeSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

The connections end cap stroke color.

C#
public DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
Parameters:valuestring

The value for Color

Returns:

DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

The connections 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.

C#
public DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
Parameters:valueDiagramDashType

The value for DashType

Returns:

DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".

C#
public DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
Parameters:valueDiagramStrokeLineCap

The value for LineCap

Returns:

DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".

C#
public DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
Parameters:valueDiagramStrokeLineJoin

The value for LineJoin

Returns:

DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

The connections end cap stroke width.

C#
public DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
Parameters:valuedouble

The value for Width

Returns:

DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.