public class TextParagraph extends Object
Represents PUB text paragraph
Constructor and Description |
---|
TextParagraph(List<TextGroup> textParts,
ParagraphStyle style)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ParagraphStyle |
getStyle()
Style of paragraph
|
TextGroup[] |
getTextParts()
Text groups
|
public TextParagraph(List<TextGroup> textParts, ParagraphStyle style)
Constructor
textParts
- Text groupsstyle
- Paragraph's stylepublic final TextGroup[] getTextParts()
Text groups
public final ParagraphStyle getStyle()
Style of paragraph