@Immutable
public class RotateRequirement
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
degrees
The angle in degrees.
|
boolean |
flipHorizontally
Flips the image horizontally (on a vertical axis).
|
boolean |
flipVertically
Flips the image vertically (on a horizontal axis).
|
boolean |
forceUpOrientation
Forces to rotate the bytes of the images if it contains extra orientation metadata.
|
| Constructor and Description |
|---|
RotateRequirement(boolean forceUpOrientation)
Creates new
RotateRequirement with the option to "force up orientation". |
RotateRequirement(int degrees)
Creates new
RotateRequirement with the given rotation in degrees. |
RotateRequirement(int degrees,
boolean flipHorizontally,
boolean flipVertically,
boolean forceUpOrientation)
Creates new
RotateRequirement with the given rotation in degrees, flip indications, and
a "force up orientation" parameter. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public final int degrees
public final boolean flipHorizontally
public final boolean flipVertically
public final boolean forceUpOrientation
public RotateRequirement(int degrees)
RotateRequirement with the given rotation in degrees.public RotateRequirement(boolean forceUpOrientation)
RotateRequirement with the option to "force up orientation".public RotateRequirement(int degrees,
boolean flipHorizontally,
boolean flipVertically,
boolean forceUpOrientation)
RotateRequirement with the given rotation in degrees, flip indications, and
a "force up orientation" parameter.