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 position = new geom.Point(10, 10);
var text = new draw.Text("Toggle visibility", position, {
font: "16px Arial",
visible: false
});
var surface = draw.Surface.create($("#surface"));
surface.draw(text);
setTimeout(function() {
text.visible(true);
}, 2000);
</script>
In this article