Google Cloud Vision Ai V1 Client - Class SpatialPartition (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class SpatialPartition.

Partition of asset in space.

Generated from protobuf message google.cloud.visionai.v1.Partition.SpatialPartition

Namespace

Google \ Cloud \ VisionAI \ V1 \ Partition

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ x_min
int|string

The minimum x coordinate value.

↳ y_min
int|string

The minimum y coordinate value.

↳ x_max
int|string

The maximum x coordinate value.

↳ y_max
int|string

The maximum y coordinate value.

getXMin

The minimum x coordinate value.

Returns
Type
Description
int|string

hasXMin

clearXMin

setXMin

The minimum x coordinate value.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getYMin

The minimum y coordinate value.

Returns
Type
Description
int|string

hasYMin

clearYMin

setYMin

The minimum y coordinate value.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getXMax

The maximum x coordinate value.

Returns
Type
Description
int|string

hasXMax

clearXMax

setXMax

The maximum x coordinate value.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getYMax

The maximum y coordinate value.

Returns
Type
Description
int|string

hasYMax

clearYMax

setYMax

The maximum y coordinate value.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: