DiagramConnectionDefaultsStartCapSettingsBuilder
Methods
Fill(System.Action)
Defines the default start cap fill options of the connections.
Parameters
configurator - System.Action<DiagramConnectionDefaultsStartCapFillSettingsBuilder>
The action that configures the fill settings.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ConnectionDefaults(cd => cd
.StartCap(startCap => startCap.Fill(f => f.Color("yellow")))
)
)
Stroke(System.Action)
Defines the default start cap stroke options of the connections.
Parameters
configurator - System.Action<DiagramConnectionDefaultsStartCapStrokeSettingsBuilder>
The action that configures the stroke settings.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ConnectionDefaults(cd => cd
.StartCap(startCap => startCap.Stroke(s => s.Color("blue").Width(3)))
)
)
Type(System.String)
Specifies the default start cap type used in the connections. The supported values are: "none" (default), "ArrowStart" (a filled arrow), and "FilledCircle" (a filled circle).
Parameters
value - System.String
The value that configures the start cap type.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ConnectionDefaults(cd => cd
.StartCap(startCap => startCap.Type("FilledCircle"))
)
)