Interface BelowTop

All Superinterfaces:
VerticalAnchor, Wrapper

@NullMarked @AsOf("3.0.0") public interface BelowTop extends VerticalAnchor
A relative height starting at the top of the world. Higher values move the height down.
Since:
3.0.0
See Also:
  • Field Details

    • TOP

      @AsOf("3.0.0") static final BelowTop TOP
      The top of the world.
  • Method Details

    • offset

      @AsOf("3.0.0") int offset()
      The offset from the top of the generation range.
      Returns:
      the offset from the top of the generation range
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static BelowTop of(int offset)
      Creates a new below-top vertical anchor.
      Parameters:
      offset - the offset from the top of the generation range
      Returns:
      a new below-top vertical anchor
      Since:
      3.0.0