ShapeContent
Defines the shapes content settings.
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. | |
color? |
|
The color of the shape content text. | |
fontFamily? |
|
The font family of the shape content text. | |
fontSize? |
|
The font size of the shape content text. | |
fontStyle? |
|
The font style of the shape content text. | |
fontWeight? |
|
The font weight of the shape content text. | |
lineSpacing? |
|
The spacing between lines of text in the shape. | |
padding? |
|
The padding of the shape content. | |
relativePadding? |
|
The relative padding of the shape content e.g. | |
template? |
|
The template which renders the labels. | |
text? |
|
The text displayed in the shape. | |
textWrap? |
|
|
Configures the text wrapping behavior in the shape. |