visibleBoolean

A flag, indicating if the element is visible. Inherited from Element.visible

Example

<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var circleGeometry = new geom.Circle([100, 100], 30);
    var circle = new draw.Circle(circleGeometry, {
        visible: false,
        fill: { color: "cyan" },
        stroke: { color: "darkcyan", width: 2 }
    });

    var surface = draw.Surface.create($("#surface"));
    surface.draw(circle);

    // Make circle visible after 2 seconds
    setTimeout(() => {
        circle.visible(true);
    }, 2000);
</script>
In this article
visible
Not finding the help you need?
Contact Support