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, waitgetData, getId, getImportMethod, getIntent, getJpeg, getMimeType, getSource, getType, getUri, isImported, isReviewablepublic ImageDocument.ImageFormat getFormat()
public int getRotationForDisplay()
Degrees are positive and multiples of 90.
getRotationForDisplay in interface DocumentgetRotationForDisplay in class GiniVisionDocumentpublic void setRotationForDisplay(int degrees)
public int getRotationDelta()
public void updateRotationDeltaBy(int degrees)
public boolean equals(java.lang.Object o)
equals in class GiniVisionDocumentpublic int hashCode()
hashCode in class GiniVisionDocument