New to Kendo UI for jQueryStart a free 30-day trial

FromArc

class methods

Create a curve from the given arc.

Parameters:arckendo.geometry.Arc

The source arc to trace.

Returns:kendo.drawing.Path

The newly constructed path.

<div id="surface" style="width: 250px; height: 250px;"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var arc = new geom.Arc([100, 100], {
        startAngle: 0,
        endAngle: 90,
        radiusX: 50,
        radiusY: 50
    });

    var path = draw.Path.fromArc(arc, {
        stroke: {
            color: "#ff6358",
            width: 3
        }
    });

    var surface = draw.Surface.create($("#surface"));
    surface.draw(path);
</script>
Not finding the help you need?
Contact Support