shapeDefaults.cornerRadiusNumber
(default: 0)
Defines the corner radius of the shape.
Example - setting shape corner radius
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapeDefaults: {
cornerRadius: 10,
fill: { color: "lightblue" },
width: 100,
height: 60
},
shapes: [
{ content: { text: "Rounded Shape" }, x: 50, y: 50 }
]
});
</script>
In this article