Class
DiagramConnectionStartCapStrokeDescriptor

Controls the outline stroke color, width, and style of the start cap (arrowhead) border. Use this to customize the cap's outline appearance at the connection origin, separate from its fill color. Part of the DiagramConnectionStartCapDescriptor styling. Example: 1px gray dashed stroke.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class DiagramConnectionStartCapStrokeDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramConnectionStartCapStrokeDescriptor

Constructors

DiagramConnectionStartCapStrokeDescriptor()

Declaration

cs-api-definition
public DiagramConnectionStartCapStrokeDescriptor()

Properties

Color

Sets the border color of the connection start cap outline. Use any valid CSS color value such as hex codes (e.g., "#1976D2"), color names (e.g., "darkblue"), or rgba values. This colors the border of arrow heads or other start cap shapes.

Declaration

cs-api-definition
public string Color { get; set; }

Property Value

string

DashType

Sets the line style pattern for the start cap border. Solid creates a continuous border (default). Dash creates a dashed border pattern. Dot creates a dotted border pattern. LongDash creates longer dashes. LongDashDot alternates between long dashes and dots. LongDashDotDot alternates between long dashes and two dots. Use solid borders for standard arrow heads and dashed styles for special connection types.

Declaration

cs-api-definition
public DashType? DashType { get; set; }

Property Value

DashType?

LineCap

Sets the style of line endings for the start cap stroke. Controls how the ends of stroke lines are drawn (e.g., butt, round, square). This affects the visual appearance of cap border endpoints.

Declaration

cs-api-definition
public DiagramConnectionsStartCapStrokeLineCap? LineCap { get; set; }

Property Value

DiagramConnectionsStartCapStrokeLineCap?

LineJoin

Sets the style of line joins where stroke segments meet in the start cap. Controls how corners are drawn (e.g., miter, round, bevel). This affects the appearance of sharp angles in arrow head borders.

Declaration

cs-api-definition
public DiagramConnectionsStartCapStrokeLineJoin? LineJoin { get; set; }

Property Value

DiagramConnectionsStartCapStrokeLineJoin?

Width

Sets the thickness of the start cap border in pixels. For example, 1 creates a thin border, while 2 creates a more prominent border. Typically matches the connection line width set by Width.

Declaration

cs-api-definition
public double? Width { get; set; }

Property Value

double?

Methods

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>