fromArc

Create a curve from the given arc.

Example

<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>

Parameters

arc kendo.geometry.Arc

The source arc to trace.

options Object optional

The configuration options for the path.

Returns

kendo.drawing.Path The newly constructed path.

In this article
fromArc
Not finding the help you need?
Contact Support