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

Stroke

methods

Sets the shape stroke.

Parameters:colorString

The stroke color to set.

Returns:kendo.drawing.Arc

The current instance to allow chaining.

<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var arcGeometry = new geom.Arc([100, 100], {
        radiusX: 25,
        radiusY: 35,
        startAngle: 45,
        endAngle: 270
    });
    var arc = new draw.Arc(arcGeometry);

    // Set stroke color, width, and opacity
    arc.stroke("darkgreen", 4, 0.8);

    var surface = draw.Surface.create($("#surface"));
    surface.draw(arc);

    // Change stroke after 2 seconds
    setTimeout(() => {
        arc.stroke("red", 2, 1);
    }, 2000);
</script>
Not finding the help you need?
Contact Support