Interface Position

All Known Implementing Classes:
Position.Dynamic, Position.Immutable, Position.Mutable

public interface Position
Created by brandon3055 on 24/08/2023
  • Method Details

    • x

      double x()
    • y

      double y()
    • offset

      default Position offset(double x, double y)
    • get

      default double get(Axis axis)
      Returns the position value for the given axis.
    • create

      static Position create(double x, double y)
    • create

      static Position create(Supplier<Double> getX, Supplier<Double> getY)
    • create

      static Position create(GuiParent<?> parent)
      Creates a new position, bound to the specified parent's position.