Package eu.europa.esig.dss.pades
Enum SignatureImageParameters.VisualSignatureRotation
- java.lang.Object
-
- java.lang.Enum<SignatureImageParameters.VisualSignatureRotation>
-
- eu.europa.esig.dss.pades.SignatureImageParameters.VisualSignatureRotation
-
- All Implemented Interfaces:
Serializable,Comparable<SignatureImageParameters.VisualSignatureRotation>
- Enclosing class:
- SignatureImageParameters
public static enum SignatureImageParameters.VisualSignatureRotation extends Enum<SignatureImageParameters.VisualSignatureRotation>
Rotation support
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATICautomatically rotateNONEdefault, no rotateROTATE_180rotate by 180ROTATE_270rotate by 270ROTATE_90rotate by 90
-
Method Summary
Modifier and Type Method Description static SignatureImageParameters.VisualSignatureRotationvalueOf(String name)Returns the enum constant of this type with the specified name.static SignatureImageParameters.VisualSignatureRotation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SignatureImageParameters.VisualSignatureRotation NONE
default, no rotate
-
AUTOMATIC
public static final SignatureImageParameters.VisualSignatureRotation AUTOMATIC
automatically rotate
-
ROTATE_90
public static final SignatureImageParameters.VisualSignatureRotation ROTATE_90
rotate by 90
-
ROTATE_180
public static final SignatureImageParameters.VisualSignatureRotation ROTATE_180
rotate by 180
-
ROTATE_270
public static final SignatureImageParameters.VisualSignatureRotation ROTATE_270
rotate by 270
-
-
Method Detail
-
values
public static SignatureImageParameters.VisualSignatureRotation[] 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 SignatureImageParameters.VisualSignatureRotation 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 nameNullPointerException- if the argument is null
-
-