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
FieldsModifier and TypeFieldDescriptionindicates bounds for graphic fieldintone ofeGraphicFieldTypeindicating type of the graphic fieldintone ofeRPRM_Lightsindicating lightning scheme of the graphic field was taken inintOriginal page indexintindicates sequential number of page, element is located onintone ofeRPRM_ResultTypeindicating fields origin type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentReaderGraphicFieldstatic DocumentReaderGraphicFieldfromJson(JSONObject jsonObject) getFieldName(Context context) field symbolic nametoJson()Method convert object to string in json format
-
Field Details
-
sourceType
public int sourceTypeone ofeRPRM_ResultTypeindicating fields origin type -
fieldType
public int fieldTypeone ofeGraphicFieldTypeindicating type of the graphic field -
light
public int lightone ofeRPRM_Lightsindicating 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
-