Class Style


  • public class Style
    extends Object
    An object representing the style of the text line.
    • Constructor Detail

      • Style

        public Style()
    • Method Detail

      • name

        public TextStyle name()
        Get the name value.
        Returns:
        the name value
      • withName

        public Style withName​(TextStyle name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the Style object itself.
      • confidence

        public double confidence()
        Get the confidence value.
        Returns:
        the confidence value
      • withConfidence

        public Style withConfidence​(double confidence)
        Set the confidence value.
        Parameters:
        confidence - the confidence value to set
        Returns:
        the Style object itself.