public static class TextBlockProperties.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TextBlockProperties.Builder |
align(FormattingTypes.Alignment align)
Sets the alignment for the block.
|
TextBlockProperties |
build()
Creates a new text block properties object
|
TextBlockProperties.Builder |
firstLineIndent(int firstLineIndent)
Set the first line indent for the block, in characters.
|
TextBlockProperties.Builder |
identifier(java.lang.String identifier)
Sets the identifier for the block.
|
TextBlockProperties.Builder |
rowSpacing(float value)
Sets the row spacing for the block.
|
TextBlockProperties.Builder |
textIndent(int textIndent)
Set the text indent for the block, in characters.
|
public TextBlockProperties.Builder textIndent(int textIndent)
firstLineIndent(int).
The text indent is applied to text directly within
the block, but is not inherited to block children.textIndent - the indent, in characterspublic TextBlockProperties.Builder firstLineIndent(int firstLineIndent)
firstLineIndent - the indent, in characters.public TextBlockProperties.Builder align(FormattingTypes.Alignment align)
align - the alignmentpublic TextBlockProperties.Builder rowSpacing(float value)
value - the row spacingpublic TextBlockProperties.Builder identifier(java.lang.String identifier)
identifier - the identifierpublic TextBlockProperties build()