# Class TextRecognitionResult.TextBlock

java.lang.Object
com.codename1.ai.vision.TextRecognitionResult.TextBlock

Enclosing class:
  `TextRecognitionResult`

public static final class TextRecognitionResult.TextBlock extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TextBlock(String text, float confidence, VisionRect bounds, String languageTag)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VisionRect`
  `getBounds()`
  `float`
  `getConfidence()`
  `String`
  `getLanguageTag()`
  `String`
  `getText()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TextBlock

    public TextBlock(String text, float confidence, VisionRect bounds, String languageTag)

- ## Method Details

  - ### getText

    public String getText()

  - ### getConfidence

    public float getConfidence()

  - ### getBounds

    public VisionRect getBounds()

  - ### getLanguageTag

    public String getLanguageTag()