public class ImageDocument extends GiniVisionDocument
Modifier and Type | Class and Description |
---|---|
static class |
ImageDocument.ImageFormat
Supported image formats.
|
Document.ImportMethod, Document.Source, Document.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ImageDocument.ImageFormat |
getFormat()
Retrieve the format of the image.
|
int |
getRotationDelta() |
int |
getRotationForDisplay()
The amount of clockwise rotation needed to display the image in the correct orientation.
|
int |
hashCode() |
void |
setRotationForDisplay(int degrees) |
void |
updateRotationDeltaBy(int degrees) |
getClass, notify, notifyAll, toString, wait, wait, wait
getData, getId, getImportMethod, getIntent, getJpeg, getMimeType, getSource, getType, getUri, isImported, isReviewable
public ImageDocument.ImageFormat getFormat()
public int getRotationForDisplay()
Degrees are positive and multiples of 90.
getRotationForDisplay
in interface Document
getRotationForDisplay
in class GiniVisionDocument
public void setRotationForDisplay(int degrees)
public int getRotationDelta()
public void updateRotationDeltaBy(int degrees)
public boolean equals(java.lang.Object o)
equals
in class GiniVisionDocument
public int hashCode()
hashCode
in class GiniVisionDocument