clip
Gets or sets the element clipping path. Inherited from Element.clip
Example - setting and getting clip path
<div id="surface" style="width: 250px; height: 250px;"></div>
<script>
    var draw = kendo.drawing;
    var multiPath = new draw.MultiPath()
        .moveTo(0, 0).lineTo(300, 0).lineTo(300, 300).lineTo(0, 300).close();
    // Create and set a circular clipping path
    var clipPath = new draw.Path()
        .moveTo(125, 50).arc(50, 125, 75, 0, 360, true).close();
    multiPath.clip(clipPath);
    multiPath.fill("blue");
    // Get the current clip path
    var currentClip = multiPath.clip();
    console.log("Clip path set: " + (currentClip !== null));
    var surface = draw.Surface.create($("#surface"));
    surface.draw(multiPath);
</script>Parameters
clip kendo.drawing.Path
The element clipping path.
Returns
kendo.drawing.Path The current element clipping path.
In this article