Class: Google::Cloud::DataLabeling::V1beta1::Vertex

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#x::Integer

Returns X coordinate.

Returns:

  • (::Integer)

    X coordinate.



105
106
107
108
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 105

class Vertex
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#y::Integer

Returns Y coordinate.

Returns:

  • (::Integer)

    Y coordinate.



105
106
107
108
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 105

class Vertex
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end