Class ConstraintImpl.Relative

java.lang.Object
codechicken.lib.gui.modular.lib.geometry.ConstraintImpl<ConstraintImpl.Relative>
codechicken.lib.gui.modular.lib.geometry.ConstraintImpl.Relative
All Implemented Interfaces:
Constraint
Enclosing class:
ConstraintImpl<T extends ConstraintImpl<?>>

public static class ConstraintImpl.Relative extends ConstraintImpl<ConstraintImpl.Relative>
  • Field Details

    • relTo

      protected final GeoRef relTo
    • offset

      protected final double offset
  • Constructor Details

    • Relative

      public Relative(GeoRef relTo, double offset)
      Returns the value of the provided reference plus the given offset.
  • Method Details