Class DocumentReaderGraphicField
- java.lang.Object
-
- DocReaderBitmap
-
- com.regula.documentreader.api.results.DocumentReaderGraphicField
-
public class DocumentReaderGraphicField extends DocReaderBitmap
structure, describing single graphic field extracted
-
-
Field Summary
Fields Modifier and Type Field Description DocReaderFieldRect
boundRect
indicates bounds for graphic fieldint
fieldType
one ofeGraphicFieldType
indicating type of the graphic fieldint
light
one ofeRPRM_Lights
indicating lightning scheme of the graphic field was taken inint
originalPageIndex
Original page indexint
pageIndex
indicates sequential number of page, element is located onint
sourceType
one ofeRPRM_ResultType
indicating fields origin type
-
Constructor Summary
Constructors Constructor Description DocumentReaderGraphicField()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentReaderGraphicField
fromJson(java.lang.String json)
static DocumentReaderGraphicField
fromJson(JSONObject jsonObject)
java.lang.String
getFieldName(Context context)
field symbolic namejava.lang.String
toJson()
Method convert object to string in json format
-
-
-
Field Detail
-
sourceType
public int sourceType
one ofeRPRM_ResultType
indicating fields origin type
-
fieldType
public int fieldType
one ofeGraphicFieldType
indicating type of the graphic field
-
light
public int light
one ofeRPRM_Lights
indicating lightning scheme of the graphic field was taken in
-
pageIndex
public int pageIndex
indicates sequential number of page, element is located on
-
originalPageIndex
public int originalPageIndex
Original page index
-
boundRect
public DocReaderFieldRect boundRect
indicates bounds for graphic field
-
-
Method Detail
-
getFieldName
public java.lang.String getFieldName(Context context)
field symbolic name
-
fromJson
public static DocumentReaderGraphicField fromJson(java.lang.String json)
-
fromJson
public static DocumentReaderGraphicField fromJson(JSONObject jsonObject)
-
toJson
public java.lang.String toJson()
Method convert object to string in json format- Returns:
- string in json format
-
-