Class BlockPosition


  • public class BlockPosition
    extends Object

    Positions a block of text at a specified row.

    • Method Detail

      • getPosition

        public Position getPosition()
        Gets the row for the block that this object positions. 0 is the first row.
        Returns:
        returns the position
      • getAlignment

        public BlockPosition.VerticalAlignment getAlignment()
        Get the alignment center for the block that this object positions.
        Returns:
        returns the alignment center
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object