public class TextFragment extends Object
| Constructor and Description |
|---|
TextFragment(String text,
Rectangle rectangle)
Initializes a new instance of the recognized text fragment.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getRectangle()
Gets a bounding rectangle of the recognized text fragment.
|
String |
getText()
Gets a textual content of the recognized text fragment.
|
Copyright © 2024. All rights reserved.