AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::Vertex (v0.6.0)

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::Vertex.

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#x

def x() -> ::Integer
Returns
  • (::Integer) — X coordinate.

#x=

def x=(value) -> ::Integer
Parameter
  • value (::Integer) — X coordinate.
Returns
  • (::Integer) — X coordinate.

#y

def y() -> ::Integer
Returns
  • (::Integer) — Y coordinate.

#y=

def y=(value) -> ::Integer
Parameter
  • value (::Integer) — Y coordinate.
Returns
  • (::Integer) — Y coordinate.