New to Kendo UI for AngularStart a free 30-day trial

ShapeContent

Updated on May 8, 2026

Defines the shapes content settings.

NameTypeDefaultDescription

align?

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.

color?

string

The color of the shape content text.

fontFamily?

string

"sans-serif"

The font family of the shape content text.

fontSize?

number

15

The font size in pixels of the shape content text.

fontStyle?

string

The font style of the shape content text.

fontWeight?

string

The font weight of the shape content text.

lineSpacing?

number

0

The spacing between lines of text in the shape in pixels.

padding?

number | Padding

0

The padding of the shape content in pixels.

relativePadding?

number | Padding

0

The relative padding of the shape content e.g. 0.03 means 3% of the shape width/height.

template?

string | (data: any) => string

The template which renders the labels.

text?

string

The text displayed in the shape.

textWrap?

"nowrap" | "wrap"

"nowrap"

Configures the text wrapping behavior in the shape.

Not finding the help you need?
Contact Support