shapes.content.fontStyleString

The font style of the shape content text.

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 100,
        content: {
            text: "Italic Text",
            fontStyle: "italic"
        }
    }]
});
</script>
In this article
shapes.content.fontStyle
Not finding the help you need?
Contact Support