public final class FormLine extends FormElement
Constructor and Description |
---|
FormLine(String text,
FieldBoundingBox boundingBox,
Integer pageNumber,
List<FormWord> words)
Creates raw OCR item.
|
Modifier and Type | Method and Description |
---|---|
TextAppearance |
getAppearance()
Get the appearance of the text line.
|
FieldBoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
String |
getText()
The text content of the form element.
|
List<FormWord> |
getWords()
Get the list of words in the text line.
|
public FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List<FormWord> words)
text
- The text content of recognized field.boundingBox
- The BoundingBox of the recognized field.pageNumber
- the page number.words
- The list of word element references.public List<FormWord> getWords()
FormLine
.public FieldBoundingBox getBoundingBox()
getBoundingBox
in class FormElement
public String getText()
getText
in class FormElement
public int getPageNumber()
getPageNumber
in class FormElement
public TextAppearance getAppearance()
Copyright © 2021. All rights reserved.