Class LengthType<T>

java.lang.Object
com.spinyowl.legui.style.length.LengthType<T>

public final class LengthType<T> extends Object
  • Field Details

  • Constructor Details

    • LengthType

      public LengthType(String name, Class<T> type)
  • Method Details

    • pixel

      public static Length<Float> pixel(float value)
    • percent

      public static Length<Float> percent(float value)
    • name

      public String name()
    • type

      public Class<T> type()
    • length

      public Length<T> length(T value)