public static final class BlockSpacing.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BlockSpacing.Builder |
bottomSpacing(int bottomSpacing)
Set the bottom spacing for the block, in characters.
|
BlockSpacing |
build()
Build BlockSpacing using the current state of the Builder.
|
BlockSpacing.Builder |
leftSpacing(int leftSpacing)
Set the left spacing for the block, in characters.
|
BlockSpacing.Builder |
rightSpacing(int rightSpacing)
Set the right spacing for the block, in characters.
|
BlockSpacing.Builder |
topSpacing(int topSpacing)
Set the top spacing for the block, in characters.
|
public BlockSpacing.Builder leftSpacing(int leftSpacing)
leftSpacing
- left spacing, in characterspublic BlockSpacing.Builder rightSpacing(int rightSpacing)
rightSpacing
- right spacing, in characterspublic BlockSpacing.Builder topSpacing(int topSpacing)
topSpacing
- top spacing, in characterspublic BlockSpacing.Builder bottomSpacing(int bottomSpacing)
bottomSpacing
- bottom spacing, in characterspublic BlockSpacing build()