Reference documentation and code samples for the Cloud Vision V1 Client class DetectedBreak.
Detected start or end of a structural component.
Generated from protobuf message google.cloud.vision.v1.TextAnnotation.DetectedBreak
Namespace
Google \ Cloud \ Vision \ V1 \ TextAnnotationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Detected break type. |
↳ is_prefix |
bool
True if break prepends the element. |
getType
Detected break type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type BreakType. |
setType
Detected break type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type BreakType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsPrefix
True if break prepends the element.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsPrefix
True if break prepends the element.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|