Enum Skeleton.Variant

java.lang.Object
java.lang.Enum<Skeleton.Variant>
com.dlsc.gemsfx.Skeleton.Variant
All Implemented Interfaces:
Serializable, Comparable<Skeleton.Variant>
Enclosing class:
Skeleton

public static enum Skeleton.Variant extends Enum<Skeleton.Variant>
Geometric form of a Skeleton.
  • Enum Constant Details

    • ROUNDED_RECTANGLE

      public static final Skeleton.Variant ROUNDED_RECTANGLE
      A rounded rectangle whose corner radius is driven by cornerRadius.
    • CIRCULAR

      public static final Skeleton.Variant CIRCULAR
      A circle inscribed in min(width, height).
    • TEXT

      public static final Skeleton.Variant TEXT
      A vertical stack of lineCount horizontal lines simulating a paragraph.
  • Method Details

    • values

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

      public static Skeleton.Variant valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null