[]
Serializable, Comparable<CornerPosition>, ConstableUse this enum with CornerFold to indicate which corner or corners of a decorated cell display the fold. Each enum value represents a flag that can be combined with other values in an EnumSet to apply folded corners to multiple positions.
ICornerFold cornerFold = new CornerFold(
Color.GetRed(),
EnumSet.of(CornerPosition.LeftTop, CornerPosition.RightTop),
8
);
worksheet.getRange("A1").setDecoration(new CellDecoration(cornerFold));
Enum.EnumDesc<E extends Enum<E>>static CornerPositionforValue(int value) intgetValue()static CornerPositionstatic CornerPosition[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null