stroke
Sets the text stroke.
Example
<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;
    var position = new geom.Point(10, 10);
    var text = new draw.Text("Outlined text", position, {
        font: "20px Arial",
        fill: { color: "white" }
    });
    text.stroke("black", 2, 1);
    var surface = draw.Surface.create($("#surface"));
    surface.draw(text);
</script>Parameters
color String
The stroke color to set.
width Number optional
The stroke width to set.
opacity Number optional
The stroke opacity to set.
Returns
kendo.drawing.Text The current instance to allow chaining.
In this article