java.lang.Object
codechicken.lib.gui.modular.lib.geometry.Borders

public final class Borders extends Object
Created by brandon3055 on 28/08/2023
  • Field Details

    • top

      public double top
    • left

      public double left
    • bottom

      public double bottom
  • Constructor Details

    • Borders

      public Borders(double top, double left, double bottom, double right)
  • Method Details

    • create

      public static Borders create(double borders)
    • create

      public static Borders create(double leftRight, double topBottom)
    • create

      public static Borders create(double top, double left, double bottom, double right)
    • top

      public double top()
    • left

      public double left()
    • bottom

      public double bottom()
    • right

      public double right()
    • top

      public Borders top(double top)
    • left

      public Borders left(double left)
    • bottom

      public Borders bottom(double bottom)
    • right

      public Borders right(double right)
    • setTopBottom

      public Borders setTopBottom(double topBottom)
    • setLeftRight

      public Borders setLeftRight(double leftRight)
    • setBorders

      public Borders setBorders(double borders)
    • setBorders

      public Borders setBorders(double topBottom, double leftRight)
    • setBorders

      public Borders setBorders(double top, double left, double bottom, double right)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object