clip
Gets or sets the element clipping path. Inherited from Element.clip
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("This text will be clipped", position, {
        font: "18px Arial"
    });
    var clipPath = draw.Path.fromRect(new geom.Rect([15, 15], [60, 20]));
    text.clip(clipPath);
    var surface = draw.Surface.create($("#surface"));
    surface.draw(text);
</script>Parameters
clip kendo.drawing.Path
The element clipping path.
Returns
kendo.drawing.Path The current element clipping path.
In this article