Google Cloud Datalabeling V1beta1 Client - Class BoundingPoly (0.3.1)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class BoundingPoly.

A bounding polygon in the image.

Generated from protobuf message google.cloud.datalabeling.v1beta1.BoundingPoly

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vertices array<Google\Cloud\DataLabeling\V1beta1\Vertex>

The bounding polygon vertices.

getVertices

The bounding polygon vertices.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVertices

The bounding polygon vertices.

Parameter
NameDescription
var array<Google\Cloud\DataLabeling\V1beta1\Vertex>
Returns
TypeDescription
$this