append
Appends the specified element as a last child of the group.
Parameters
element kendo.drawing.Element
The element to append. Multiple parameters are accepted.
Example
<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>
In this article