Class DocumentReaderGraphicField
com.regula.documentreader.api.results.DocumentReaderGraphicField
public class DocumentReaderGraphicField
structure, describing single graphic field extracted
-
Field Summary
Modifier and TypeFieldDescriptionindicates bounds for graphic fieldint
one ofeGraphicFieldType
indicating type of the graphic fieldint
one ofeRPRM_Lights
indicating lightning scheme of the graphic field was taken inint
Original page indexint
indicates sequential number of page, element is located onint
one ofeRPRM_ResultType
indicating fields origin type -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentReaderGraphicField
static DocumentReaderGraphicField
fromJson
(JSONObject jsonObject) getFieldName
(Context context) field symbolic nametoJson()
Method convert object to string in json format
-
Field Details
-
sourceType
public int sourceTypeone ofeRPRM_ResultType
indicating fields origin type -
fieldType
public int fieldTypeone ofeGraphicFieldType
indicating type of the graphic field -
light
public int lightone ofeRPRM_Lights
indicating lightning scheme of the graphic field was taken in -
pageIndex
public int pageIndexindicates sequential number of page, element is located on -
originalPageIndex
public int originalPageIndexOriginal page index -
boundRect
indicates bounds for graphic field
-
-
Constructor Details
-
DocumentReaderGraphicField
public DocumentReaderGraphicField()
-
-
Method Details
-
getFieldName
field symbolic name -
fromJson
-
fromJson
-
toJson
Method convert object to string in json format- Returns:
- string in json format
-