Class Offset

java.lang.Object
org.opencastproject.composer.layout.Offset

public final class Offset extends Object
Offset in a left-handed cartesian coordinate system.
  • Constructor Details

    • Offset

      public Offset(int x, int y)
  • Method Details

    • offset

      public static Offset offset(int x, int y)
    • getX

      public int getX()
      Get the x offset.
    • getY

      public int getY()
      Get the y offset.
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object