public class TextLine extends Object
| Constructor and Description |
|---|
TextLine(List<TextFragment> fragments)
Initializes a new instance of a line of text, extracted by OCR engine from an image.
|
| Modifier and Type | Method and Description |
|---|---|
TextFragment[] |
getFragments()
Gets an array of text fragments, such as symbols and words, recognized in the line.
|
public TextLine(List<TextFragment> fragments)
fragments - initial set of text fragmentspublic TextFragment[] getFragments()
Copyright © 2026. All rights reserved.