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.
| Name | Type | Default | Description |
|---|---|---|---|
align? |
|
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? |
|
Defines the rich text content of the shape label. | |
color? |
|
The color of the shape content text. | |
fontFamily? |
|
|
The font family of the shape content text. |
fontSize? |
|
|
The font size in pixels of the shape content text. |
margin? |
|
|
Defines the margin of the paragraphs in the shape content.
Defaults to the value of |
padding? |
|
|
The padding of the shape content in pixels. |