Enum Class FillableShape.Type

java.lang.Object
java.lang.Enum<FillableShape.Type>
net.rodofire.easierworldcreator.shapeutil.FillableShape.Type
All Implemented Interfaces:
Serializable, Comparable<FillableShape.Type>, Constable
Enclosing class:
FillableShape

public static enum FillableShape.Type extends Enum<FillableShape.Type>
change how the structure is filled
  • Enum Constant Details

    • EMPTY

      public static final FillableShape.Type EMPTY
      will only generate the outline
    • HALF

      public static final FillableShape.Type HALF
      will generate an outline large of 50% the radius
    • FULL

      public static final FillableShape.Type FULL
      will entirely fill the circle
    • CUSTOM

      public static final FillableShape.Type CUSTOM
      Set custom filling type. It must be associated with a customFill float.
  • Method Details

    • values

      public static FillableShape.Type[] 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 FillableShape.Type 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