Class Position.Mutable

java.lang.Object
codechicken.lib.gui.modular.lib.geometry.Position.Mutable
All Implemented Interfaces:
Position
Enclosing interface:
Position

public static class Position.Mutable extends Object implements Position
  • Constructor Details

    • Mutable

      public Mutable(double x, double y)
  • Method Details

    • x

      public double x()
      Specified by:
      x in interface Position
    • y

      public double y()
      Specified by:
      y in interface Position
    • offset

      public Position offset(double x, double y)
      Specified by:
      offset in interface Position
    • set

      public Position set(double x, double y)
    • toString

      public String toString()
      Overrides:
      toString in class Object