visible
Gets or sets the visibility of the element. Inherited from Element.visible
Example
<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;
    var position = new geom.Point(10, 10);
    var text = new draw.Text("Now you see me", position, {
        font: "16px Arial"
    });
    var surface = draw.Surface.create($("#surface"));
    surface.draw(text);
    setTimeout(function() {
        text.visible(false);
        console.log("Text is now hidden");
    }, 2000);
    setTimeout(function() {
        text.visible(true);
        console.log("Text is now visible again");
    }, 4000);
</script>Parameters
visible Boolean
A flag indicating if the element should be visible.
Returns
Boolean true if the element is visible; false otherwise.
In this article