Cloud Vision V1 Client - Class DetectedBreak (1.10.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
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

setType

Detected break type.

Parameter
Name Description
var int
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