childrenArray

The children of this group.

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);

    group.append(pathA, pathB);

    console.log("Number of children:", group.children.length);
    console.log("First child:", group.children[0]);

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