Class DocumentStyle


  • public final class DocumentStyle
    extends Object
    An object representing observed text styles.
    • Constructor Detail

      • DocumentStyle

        public DocumentStyle()
    • Method Detail

      • isHandwritten

        public Boolean isHandwritten()
        Get the isHandwritten property: Is content handwritten?.
        Returns:
        the isHandwritten value.
      • getSpans

        public List<DocumentSpan> getSpans()
        Get the spans property: Location of the text elements in the concatenated content the style applies to.
        Returns:
        the spans value.
      • getConfidence

        public float getConfidence()
        Get the confidence property: Confidence of correctly identifying the style.
        Returns:
        the confidence value.