Defines the fluent API for configuring DiagramShapeStrokeSettings
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
DiagramShapeStrokeSettingsBuilder method.
public DiagramShapeStrokeSettingsBuilder(DiagramShapeStrokeSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeStrokeSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeStrokeSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the color of the shape stroke.
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
The value for Color
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
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 for DashType
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
The value for LineCap
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
The value for LineJoin
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the thickness or width of the shape stroke.
public DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value for Width
Returns:DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.