New to Kendo UI for jQueryStart a free 30-day trial

Specifies the stroke on hovering over the resizing handles. See the editable.resize configuration for an example.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [
        {
            id: "1",
            content: {
                text: "Draggable Shape"
            },
            x: 100,
            y: 100
        }
    ],
    editable: {
        resize: {
            handles: {
                hover: {
                    stroke: {
                        color: "purple",
                        width: 3,
                        dashType: "dot"
                    }
                }
            }
        }
    }
});
</script>

Specifies the stroke color on hovering over the resizing handles. See the editable.resize configuration for an example.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [
        {
            id: "1",
            content: {
                text: "Draggable Shape"
            },
            x: 100,
            y: 100
        }
    ],
    editable: {
        resize: {
            handles: {
                hover: {
                    stroke: {
                        color: "green"
                    }
                }
            }
        }
    }
});
</script>

Specifies the stroke dash type on hovering over the resizing handles. See the editable.resize configuration for an example.

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
  • "solid" - A solid line
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [
        {
            id: "1",
            content: {
                text: "Draggable Shape"
            },
            x: 100,
            y: 100
        }
    ],
    editable: {
        resize: {
            handles: {
                hover: {
                    stroke: {
                        color: "red",
                        dashType: "longDash"
                    }
                }
            }
        }
    }
});
</script>

Specifies the stroke color on hovering over the resizing handles. See the editable.resize configuration for an example.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [
        {
            id: "1",
            content: {
                text: "Draggable Shape"
            },
            x: 100,
            y: 100
        }
    ],
    editable: {
        resize: {
            handles: {
                hover: {
                    stroke: {
                        color: "blue",
                        width: 4
                    }
                }
            }
        }
    }
});
</script>