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

ShapeContent

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

The font family of the shape content text.

fontSize?

number

The font size 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

The spacing between lines of text in the shape.

padding?

number | { bottom?: number; left?: number; right?: number; top?: number; }

The padding of the shape content.

relativePadding?

number | { bottom?: number; left?: number; right?: number; top?: number; }

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