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

The current instance to allow chaining.

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

    var circleGeometry = new geom.Circle([100, 100], 30);
    var circle = new draw.Circle(circleGeometry).fill("lightcoral");

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

    // Set stroke properties using the stroke method
    circle.stroke("darkred", 4, 0.8);

    // Chain stroke with other methods
    setTimeout(() => {
        circle.stroke("blue", 2).fill("lightblue", 0.6);
    }, 2000);
</script>
Not finding the help you need?
Contact Support