endCap String|Object

The connection end cap configuration or type name.

Example - configuring the endCap

<div id="diagram"></div>
<script>
  var Point = kendo.dataviz.diagram.Point;
  var diagram = $("#diagram").kendoDiagram({ }).getKendoDiagram();
  var connection = diagram.connect(new Point(100,100), new Point(300,100), {
    endCap: {
      type: "ArrowEnd",
      fill: {
        color: "red"
      },
      stroke: {
        color: "blue",
        width: 2
      }
    },
    selectable: false
  });
</script>

endCap.fill String|Object

The connection end cap fill options or color.

endCap.fill.color String (default: "black")

The connection end cap fill color.

endCap.fill.opacity

The connection end cap fill opacity.

endCap.stroke String|Object

The connection end cap stroke options or color.

endCap.stroke.color String

The connection end cap stroke color.

endCap.stroke.dashType String

The connection end cap stroke dash type.

endCap.stroke.width Number

The connection end cap stroke width.

endCap.type String (default: "none")

The connection end cap type.

The supported values are:

  • "none": no cap
  • "ArrowEnd": a filled arrow
  • "FilledCircle": a filled circle
In this article