public class BlockPosition extends Object
Positions a block of text at a specified row.
Modifier and Type | Class and Description |
---|---|
static class |
BlockPosition.Builder
Used when creating BlockPosition instances.
|
static class |
BlockPosition.VerticalAlignment
Block alignment
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BlockPosition.VerticalAlignment |
getAlignment()
Get the alignment center for the block that this object positions
|
Position |
getPosition()
Gets the row for the block that this object positions.
|
int |
hashCode() |
public Position getPosition()
public BlockPosition.VerticalAlignment getAlignment()