public enum Angle extends Enum<Angle>
RotatePagesOperation
Enum Constant and Description |
---|
_180
Represents 180 degrees clockwise rotation
|
_270
Represents 270 degrees clockwise rotation
|
_90
Represents 90 degrees clockwise rotation
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the value of this angle
|
static Angle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Angle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Angle _90
public static final Angle _180
public static final Angle _270
public static Angle[] values()
for (Angle c : Angle.values()) System.out.println(c);
public static Angle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2020 Adobe. All rights reserved.