Enum Class BMText.AutoFade

java.lang.Object
java.lang.Enum<BMText.AutoFade>
com.ardor3d.ui.text.BMText.AutoFade
All Implemented Interfaces:
Serializable, Comparable<BMText.AutoFade>, Constable
Enclosing class:
BMText

public static enum BMText.AutoFade extends Enum<BMText.AutoFade>
  • Enum Constant Details

    • Off

      public static final BMText.AutoFade Off
      No auto fade.
    • DistanceRange

      public static final BMText.AutoFade DistanceRange
      Fade based on a fixed distance between text and camera.
    • FixedPixelSize

      public static final BMText.AutoFade FixedPixelSize
      Fade when screen size is less than fixed pixel size.
    • CapScreenSize

      public static final BMText.AutoFade CapScreenSize
      Fade when screen size is less than native size. Equivalent to FixedPixelSize + setAutoFadeFixedPixelSize(font.getSize()).
  • Method Details

    • values

      public static BMText.AutoFade[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BMText.AutoFade valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null