Class Vec2.Relative

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Float getX()
      Unit setX(Float x)
      Float getY()
      Unit setY(Float y)
      final Vec2.Relative zero() Effectively make this vector equal to the source.
      Unit scale(Float xScale, Float yScale)
      Vec2.Relative clone()
      • Methods inherited from class org.polyfrost.polyui.unit.Vec2.Sourced

        getSource, getSourced, setSource
      • Methods inherited from class org.polyfrost.polyui.unit.Vec2

        compareTo, compareTo, divAssign, ensureLargerThan, ensureSmallerThan, equals, get, getHasZero, getHeight, getMagnitude, getMagnitude2, getWidth, hashCode, isNegative, isZero, max, min, minusAssign, normalize, plusAssign, resize, set, set, setHeight, setWidth, timesAssign, timesAssign, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait