DiagramConnectionStrokeSettingsBuilder
Methods
Color(System.String)
Defines the stroke or line color of the connection.
Parameters
value - System.String
The value that configures the color.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().Stroke(s => s.Color("#33ccff"))
)
)
Width(System.Double)
Defines the stroke width of the connection.
Parameters
value - System.Double
The value that configures the width.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().Stroke(s => s.Width(2))
)
)