visibleBoolean
A flag, indicating if the group and its children are visible. Inherited from Element.visible
Example
<div id="surface"></div>
<script>
var draw = kendo.drawing;
var group = new draw.Group({
visible: false
});
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);
var surface = draw.Surface.create($("#surface"));
surface.draw(group);
// The group will not be visible
console.log("Group visibility:", group.visible);
</script>
In this article