ClassDiagramShapeStrokeDescriptor
Controls the outline stroke color, width, dash pattern, and style of diagram shape borders. Use this to customize the appearance of shape outlines in their normal (non-hover, non-selected) state. Example: Set width to 2px with a "#34495E" color for standard shapes, or use dashed borders to indicate different entity types.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class DiagramShapeStrokeDescriptor : DataVizChildComponentDescriptor
Inheritance: objectDataVizChildComponentDescriptorDiagramShapeStrokeDescriptor
Constructors
DiagramShapeStrokeDescriptor()
Declaration
public DiagramShapeStrokeDescriptor()
Properties
Color
Sets the border color of the shape outline. Use any valid CSS color value such as hex codes (e.g., "#0078D4"), color names (e.g., "blue"), or rgba values. This property defines the outline color of the shape, distinct from the fill color set by Color.
DashType
Sets the line style pattern for the shape border. Solid creates a continuous line (default). Dash creates a dashed line pattern. Dot creates a dotted line pattern. DashDot alternates between dashes and dots. LongDash creates longer dashes. LongDashDot alternates between long dashes and dots. LongDashDotDot alternates between long dashes and two dots. Use dashed or dotted styles to indicate provisional, temporary, or secondary shapes.
Methods
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns