Defines the fluent API for configuring the DiagramShapeStrokeSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeStrokeSettingsBuilder(DiagramShapeStrokeSettings settings)
Methods
Defines the color of the shape stroke.
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value that configures the color.
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
The dash type of the shape.The following dash types are supported: "dash" - A line that consists of dashes; "dashDot" - A line that consists of a repeating pattern of dash-dot; "dot" - A line that consists of dots; "longDash" - A line that consists of a repeating pattern of long-dash; "longDashDot" - A line that consists of a repeating pattern of long-dash-dot; "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot or "solid" - A solid line.
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
The value that configures the dash type.
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
The value that configures the line cap.
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
The value that configures the line join.
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Defines the thickness or width of the shape stroke.
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>