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"))
)
)
Path(System.String)
The SVG path data for the arrow marker. Applies when the type is "ArrowEnd" or "ArrowStart".
Parameters
value - System.String
The value that configures the path.
Anchor(System.Action)
The anchor point of the arrow marker. This is the point where the marker will be positioned relative to the line. Applies when the type is "ArrowEnd" or "ArrowStart".
Parameters
configurator - System.Action<DiagramConnectionDefaultsStartCapAnchorSettingsBuilder>
The action that configures the anchor.
Radius(System.Double)
The radius of the filled circle marker. Applies when the type is "FilledCircle".
Parameters
value - System.Double
The value that configures the radius.