Detected start or end of a structural component.
Nested Class Summary
@interface | FirebaseVisionDocumentText.RecognizedBreak.BreakType | Detected start or end of a structural component
type:
UNKNOWN ,
SPACE
SURE_SPACE ,
EOL_SURE_SPACE ,
HYPHEN ,
LINE_BREAK . |
Constant Summary
int | EOL_SURE_SPACE | Line-wrapping break. |
int | HYPHEN | End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`. |
int | LINE_BREAK | Line break that ends a paragraph. |
int | SPACE | Regular space. |
int | SURE_SPACE | Sure space (very wide). |
int | UNKNOWN | Unknown break label type. |
Public Method Summary
int |
getDetectedBreakType()
Gets detected break type.
|
boolean |
getIsPrefix()
Returns
true if break prepends an element.
|
Inherited Method Summary
Constants
public static final int EOL_SURE_SPACE
Line-wrapping break.
public static final int HYPHEN
End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
public static final int LINE_BREAK
Line break that ends a paragraph.
public static final int SPACE
Regular space.
public static final int SURE_SPACE
Sure space (very wide).
public static final int UNKNOWN
Unknown break label type.
Public Methods
public int getDetectedBreakType ()
Gets detected break type.
public boolean getIsPrefix ()
Returns true
if break prepends an element.