public class OcrChar
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator |
CREATOR |
Constructor and Description |
---|
OcrChar(long nativePtr,
java.lang.Object parent) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
OcrFont |
getFont()
Returns the font of the character
|
int |
getHeight()
Returns the height of the char, in pixels.
|
Rectangle |
getPosition()
Returns the position of char in image
|
int |
getQuality()
Returns the recognition quality of the char.
|
char |
getValue()
Returns the value of the char.
|
boolean |
isUncertain()
Returns true if OCR engine thinks this char is uncertain
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public char getValue()
public int getHeight()
public boolean isUncertain()
public int getQuality()
@Nullable public Rectangle getPosition()
@Nullable public OcrFont getFont()
@NonNull public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable