Class
DiagramConnectionEndCapStrokeDescriptor

Controls the outline stroke color, width, and style of the end cap (arrowhead) border. Use this to customize the cap's outline appearance separate from its fill color. Part of the DiagramConnectionEndCapDescriptor styling. Example: 2px black solid stroke.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class DiagramConnectionEndCapStrokeDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramConnectionEndCapStrokeDescriptor

Constructors

DiagramConnectionEndCapStrokeDescriptor()

Declaration

cs-api-definition
public DiagramConnectionEndCapStrokeDescriptor()

Properties

Color

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

Declaration

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

Property Value

string

DashType

Sets the line style pattern for the end cap border. Solid creates a continuous border (default). Dash creates a dashed border pattern. Dot creates a dotted border pattern. 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 end 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 DiagramConnectionsEndCapStrokeLineCap? LineCap { get; set; }

Property Value

DiagramConnectionsEndCapStrokeLineCap?

LineJoin

Sets the style of line joins where stroke segments meet in the end 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 DiagramConnectionsEndCapStrokeLineJoin? LineJoin { get; set; }

Property Value

DiagramConnectionsEndCapStrokeLineJoin?

Width

Sets the thickness of the end 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>