Google Cloud Datalabeling V1beta1 Client - Class Polyline (0.2.0)

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

A line with multiple line segments.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The polyline vertices.

getVertices

The polyline vertices.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVertices

The polyline vertices.

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