DiagramConnectionDefaultsStrokeSettingsBuilder

Methods

Color(System.String)

Defines the default stroke color of the connection.

Parameters

value - System.String

The value that configures the color.

Example

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Stroke(s => s.Color("blue"))
               )
             )
             

Width(System.Double)

Defines the default stroke width of the connection.

Parameters

value - System.Double

The value that configures the width.

Example

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Stroke(s => s.Width(3))
               )
             )
             

LineCap(Kendo.Mvc.UI.DiagramStrokeLineCap)

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

Parameters

value - DiagramStrokeLineCap

The value that configures the linecap.

LineJoin(Kendo.Mvc.UI.DiagramStrokeLineJoin)

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

Parameters

value - DiagramStrokeLineJoin

The value that configures the linejoin.