public static enum GMOperation.RotationAnnotation extends Enum<GMOperation.RotationAnnotation>
Enum Constant and Description |
---|
Always
Forces rotation.
|
HeightExceedsWidthOnly
Rotate the image if and only if its height exceeds the width.
|
WidthExceedsHeightOnly
Rotate the image if and only if its width exceeds the height.
|
Modifier and Type | Method and Description |
---|---|
String |
asAnnotation()
Serializes option for GraphicsMagick command-line.
|
static GMOperation.RotationAnnotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GMOperation.RotationAnnotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GMOperation.RotationAnnotation Always
public static final GMOperation.RotationAnnotation WidthExceedsHeightOnly
public static final GMOperation.RotationAnnotation HeightExceedsWidthOnly
public static GMOperation.RotationAnnotation[] values()
for (GMOperation.RotationAnnotation c : GMOperation.RotationAnnotation.values()) System.out.println(c);
public static GMOperation.RotationAnnotation 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 String asAnnotation()
Copyright © 2013. All Rights Reserved.