public static class TextBlockProperties.Builder extends 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(String identifier)
Sets the identifier for the block.
|
TextBlockProperties.Builder |
rightLastLineIndent(int rightLastLineIndent)
Set the right last line indent for the block, in characters.
|
TextBlockProperties.Builder |
rightTextIndent(int rightTextIndent)
Set the right text indent for the block, in characters.
|
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 rightTextIndent(int rightTextIndent)
rightLastLineIndent(int). The indent is applied to text
directly within the block, but is not inherited to block
children.rightTextIndent - the indent, in characterspublic TextBlockProperties.Builder rightLastLineIndent(int rightLastLineIndent)
rightLastLineIndent - 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(String identifier)
identifier - the identifierpublic TextBlockProperties build()