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

CurveTo

methods

Draws a cubic Bézier curve (with two control points).

A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.

Parameters:controlOutArray|kendo.geometry.Point

The first control point for the curve.

controlInArray|kendo.geometry.Point

The second control point for the curve.

endPointArray|kendo.geometry.Point

The curve end point.

Returns:kendo.drawing.Path

The current instance to allow chaining.

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

    var path = new draw.Path()
        .moveTo(100, 200)
        .curveTo([100, 100], [250, 100], [250, 200])
        .lineTo(100, 200);

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