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

Append

methods

Appends the specified element as a last child of the group.

Parameters:elementkendo.drawing.Element

The element to append. Multiple parameters are accepted.

<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var group = new draw.Group();

    var pathA = new draw.Path().moveTo(0, 0).lineTo(100, 100);
    var pathB = new draw.Path().moveTo(0, 100).lineTo(100, 0);
    var circle = new draw.Circle(new kendo.geometry.Circle([50, 50], 25));

    group.append(pathA, pathB);
    group.append(circle);

    console.log("Group has " + group.children.length + " children");

    var surface = draw.Surface.create($("#surface"));
    surface.draw(group);
</script>
Not finding the help you need?
Contact Support