Barcode Xpress Mobile for Android
|
Class that defines the points inside an image which describe the rectangular region inside of which the native library recognized and decoded a barcode. More...
Inherits android::os::Parcelable.
Public Member Functions | |
BXResultIdentLocation (long newX, long newY) | |
Constructor. | |
void | setX (long newX) |
Set the horizontal location, in pixels, of this point. | |
void | setY (long newY) |
Set the vertical location, in pixels, of this point. | |
void | setXY (long newX, long newY) |
Set the horizontal and vertical locations, in pixels, of this point. | |
void | setPoint (BXResultIdentLocation newPoint) |
Constructor. | |
long | getX () |
Get the horizontal location, in pixels, of this point. | |
long | getY () |
Get the vertical location, in pixels, of this point. | |
String | toString () |
Get a string in format "(x,y)" that shows the coordinates contained in this point. | |
int | describeContents () |
Required to implement Parcelable. | |
void | writeToParcel (Parcel dest, int flags) |
Required to implement Parcelable. | |
Public Attributes | |
long | x |
Horizontal location, in pixels, of this point. | |
long | y |
Vertical location, in pixels, of this point. | |
Static Public Attributes | |
static final Parcelable.Creator < BXResultIdentLocation > | CREATOR |
Required to implement Parcelable. |
Class that defines the points inside an image which describe the rectangular region inside of which the native library recognized and decoded a barcode.
It implements Parcelable so that it can be placed into a Bundle, which is then placed into a Message.
BXResultIdentLocation | ( | long | newX, |
long | newY | ||
) | [inline] |
Constructor.
newX | Horizontal location, in pixels, of this point |
newY | Vertical location, in pixels, of this point |
void setPoint | ( | BXResultIdentLocation | newPoint | ) | [inline] |
void setX | ( | long | newX | ) | [inline] |
Set the horizontal location, in pixels, of this point.
newX | Horizontal location |
void setXY | ( | long | newX, |
long | newY | ||
) | [inline] |
Set the horizontal and vertical locations, in pixels, of this point.
newX | Horizontal location |
newY | Vertical location |
void setY | ( | long | newY | ) | [inline] |
Set the vertical location, in pixels, of this point.
newY | Vertical location |
final Parcelable.Creator<BXResultIdentLocation> CREATOR [static] |
new Parcelable.Creator<BXResultIdentLocation>() { public BXResultIdentLocation createFromParcel(Parcel in) { return new BXResultIdentLocation(in); } public BXResultIdentLocation[] newArray(int size) { return new BXResultIdentLocation[size]; } }
Required to implement Parcelable.