DiagramConnectionEndCapSettingsBuilder
Methods
Fill(System.Action)
Defines the connection end cap fill options.
Parameters
configurator - System.Action<DiagramConnectionEndCapFillSettingsBuilder>
The action that configures the fill settings.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().EndCap(endCap => endCap.Fill(f => f.Color("red")))
)
)
Stroke(System.Action)
Defines the connection end cap stroke options.
Parameters
configurator - System.Action<DiagramConnectionEndCapStrokeSettingsBuilder>
The action that configures the stroke settings.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().EndCap(endCap => endCap.Stroke(s => s.Color("blue").Width(2)))
)
)
Type(System.String)
Defines the type of the connection end cap. The supported values are: "none" (default), "ArrowEnd" (a filled arrow), and "FilledCircle" (a filled circle). Note: You can also use "ArrowStart" for the endCap but its direction will be inversed.
Parameters
value - System.String
The value that configures the type.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().EndCap(endCap => endCap.Type("FilledCircle"))
)
)