DiagramConnectionDefaultsStrokeSettingsBuilder
Methods
Color(System.String)
Defines the default stroke color of the connection.
Parameters
value - System.String
The value that configures the color.
Example
@(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
@(Html.Kendo().Diagram()
.Name("diagram")
.ConnectionDefaults(cd => cd
.Stroke(s => s.Width(3))
)
)