<kendo:diagram-shape-content>

Defines the shapes content settings.

Example

<kendo:diagram-shape>
    <kendo:diagram-shape-content></kendo:diagram-shape-content>
</kendo:diagram-shape>

Configuration Attributes

align java.lang.String

The alignment of the text inside the shape. You can do combinations between "top", "middle" and "bottom" for vertical align and "right", "center" and "left" for horizontal align. For example, "top right", "middle left", "bottom center", and so on.

Example

<kendo:diagram-shape-content align="align">
</kendo:diagram-shape-content>

color java.lang.String

The color of the shape content text.

Example

<kendo:diagram-shape-content color="color">
</kendo:diagram-shape-content>

fontFamily java.lang.String

The font family of the shape content text.

Example

<kendo:diagram-shape-content fontFamily="fontFamily">
</kendo:diagram-shape-content>

fontSize float

The font size of the shape content text.

Example

<kendo:diagram-shape-content fontSize="fontSize">
</kendo:diagram-shape-content>

fontStyle java.lang.String

The font style of the shape content text.

Example

<kendo:diagram-shape-content fontStyle="fontStyle">
</kendo:diagram-shape-content>

fontWeight java.lang.String

The font weight of the shape content text.

Example

<kendo:diagram-shape-content fontWeight="fontWeight">
</kendo:diagram-shape-content>

template java.lang.String

The template which renders the labels.

Example

<kendo:diagram-shape-content template="template">
</kendo:diagram-shape-content>

text java.lang.String

The text displayed in the shape.

Example

<kendo:diagram-shape-content text="text">
</kendo:diagram-shape-content>

Event Attributes

template String

The template which renders the labels.

Example

<kendo:diagram-shape-content template="handle_template">
</kendo:diagram-shape-content>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

Event Tags

kendo:diagram-shape-content-template

The template which renders the labels.

Example

<kendo:diagram-shape-content>
    <kendo:diagram-shape-content-template>
        <script>
            function(e) {
                // Code to handle the template event.
            }
        </script>
    </kendo:diagram-shape-content-template>
</kendo:diagram-shape-content>
In this article
Not finding the help you need?