A text span can contain line breaks if the text should span multiple lines.
| Modifier and Type | Method and Description |
|---|---|
| public RectBounds | |
| public Object | |
| public String |
| getBounds | back to summary |
|---|---|
| public RectBounds getBounds() The bounds for embedded object, only used the font returns null. The text for a embedded object should be a single char ("" is recommended). | |
| getFont | back to summary |
|---|---|
| public Object getFont() The font for the span, if null the span is handled as embedded object. | |
| getText | back to summary |
|---|---|
| public String getText() The text for the span, can be empty but not null. | |