ShapeRichTextContent
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.
Definition
Package:@progress/kendo-angular-diagrams
Properties
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.
"sans-serif"
fontSize?
number
The font size in pixels of the shape content text.
15
margin?
number | ParagraphMargin
Defines the margin of the paragraphs in the shape content.
Defaults to the value of fontSize for the shape content.
{ top: fontSize, bottom: fontSize }