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

ShapeRichTextContent

Updated on May 8, 2026

Defines the rich text content of the shape. Rich text content allows you to define multiple paragraphs with different styling and formatting, as well as include images and line breaks.

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.

blocks?

Paragraph[]

Defines the rich text content of the shape label.

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.

margin?

number | ParagraphMargin

{ top: fontSize, bottom: fontSize }

Defines the margin of the paragraphs in the shape content. Defaults to the value of fontSize for the shape content.

padding?

number | Padding

0

The padding of the shape content in pixels.

Not finding the help you need?
Contact Support