DiagramEditableResizeHandlesStrokeSettingsBuilder
Methods
Color(System.String)
Specifies the stroke color of the resizing handles.
Parameters
value - System.String
The value that configures the color.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Stroke(s => s.Color("blue")))))
)
DashType(System.String)
Specifies the stroke dash type of the resizing handles. The supported values are: "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. "solid" - A solid line.
Parameters
value - System.String
The value that configures the dash type.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Stroke(s => s.DashType("longDash")))))
)
Width(System.Double)
Specifies the stroke thickness of the resizing handles.
Parameters
value - System.Double
The value that configures the width.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Stroke(s => s.Width(2)))))
)