| java.lang.Object |
| ↳ |
com.vuzix.sdk.barcode.ScanningRect |
Class Overview
Represents the center portion of an image that will be scanned for barcodes.
Summary
|
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
| int |
CONTENTS_FILE_DESCRIPTOR |
|
| int |
PARCELABLE_ELIDE_DUPLICATES |
|
| int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
| Public Constructors |
|
|
ScanningRect(float widthPercentage, float heightPercentage)
Creates a ScanningRect taking up the requested percentages of width and height for an image.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
|
abstract
int
|
describeContents()
|
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Public Constructors
public
ScanningRect
(float widthPercentage, float heightPercentage)
Creates a ScanningRect taking up the requested percentages of width and height for an image.
The ScanningRect is always centered in the image.
| Parameters |
widthPercentage |
float: percentage between 0.0 and 1.0 |
heightPercentage |
float: percentage between 0.0 and 1.0 |
| Throws |
IllegalArgumentException |
if either widthPercentage or heightPercentage are < 0 or > 1
|
Public Methods
public
int
describeContents
()
public
void
writeToParcel
(Parcel out, int flags)
| Parameters |
out |
Parcel |
flags |
int |