Class Unit.Center

  • All Implemented Interfaces:
    kotlin.Cloneable , org.polyfrost.polyui.unit.Unit.Dynamic2

    
    public final class Unit.Center
    extends Unit implements Unit.Dynamic2
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Float px
      private final transient Unit.Type type
    • Constructor Summary

      Constructors 
      Constructor Description
      Unit.Center()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Float getPx() computed pixel value of this unit.
      Unit setPx(Float px) computed pixel value of this unit.
      Unit set(Unit parent, Unit parent2)
      Unit.Center clone()
      • Methods inherited from class org.polyfrost.polyui.unit.Unit

        compareTo, getType, plus, toString
      • Methods inherited from class java.lang.Object

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