public class GiniVisionBox
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Constructor and Description |
---|
GiniVisionBox(int pageNumber,
double left,
double top,
double width,
double height)
Create a new bounding box for an extraction.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
double |
getHeight() |
double |
getLeft() |
int |
getPageNumber() |
double |
getTop() |
double |
getWidth() |
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public GiniVisionBox(int pageNumber, double left, double top, double width, double height)
pageNumber
- page on which the box can be found, starting with 1left
- distance from the left edge of the page.top
- distance from the top edge of the pagewidth
- horizontal dimension of the boxheight
- vertical dimension of the boxpublic int describeContents()
public void writeToParcel(Parcel dest, int flags)
public int getPageNumber()
public double getLeft()
public double getTop()
public double getWidth()
public double getHeight()
public java.lang.String toString()
toString
in class java.lang.Object