Cloud Vision V1 Client - Class DetectedBreak (1.8.0)

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 \ TextAnnotation

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setType

Detected break type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIsPrefix

True if break prepends the element.

Returns
TypeDescription
bool

setIsPrefix

True if break prepends the element.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this