public class Page
Model for representing snapped instance and associated meta info.
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<net.doo.snap.entity.Page> |
CREATOR |
static java.lang.String |
FILTERED_FOLDER |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals() |
java.lang.String |
getId() |
android.graphics.Point |
getImageSize() |
net.doo.snap.entity.OptimizationType |
getOptimizationType() |
android.os.Bundle |
getParameters() |
java.util.List<android.graphics.PointF> |
getPolygon() |
net.doo.snap.entity.RotationType |
getRotationType() |
int |
hashCode() |
boolean |
isProcessed() |
void |
setImageSize()
Saves information about image size for particular ImageType
|
void |
setOptimizationType() |
void |
setPolygon()
Sets polygon which crops page preview from original image.
null and polygons with the number of points different from 4 are also ignored |
void |
setProcessed() |
void |
setRotationType() |
void |
writeToParcel() |
public static java.lang.String FILTERED_FOLDER
public static android.os.Parcelable.Creator<net.doo.snap.entity.Page> CREATOR
public java.lang.String getId()
public net.doo.snap.entity.OptimizationType getOptimizationType()
public void setOptimizationType()
public net.doo.snap.entity.RotationType getRotationType()
public void setRotationType()
public java.util.List<android.graphics.PointF> getPolygon()
public void setPolygon()
Sets polygon which crops page preview from original image. null and polygons with the number of points different from 4 are also ignored
public void setImageSize()
Saves information about image size for particular ImageType
public android.graphics.Point getImageSize()
public boolean isProcessed()
true if Page original image was processed. false otherwise.public void setProcessed()
public android.os.Bundle getParameters()
public boolean equals()
public int hashCode()
public int describeContents()
public void writeToParcel()