Class: Google::Cloud::Vision::V1::Vertex
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Vision::V1::Vertex
 
 
- Defined in:
 - lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.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
- 
  
    
      #x  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
X coordinate.
 - 
  
    
      #y  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Y coordinate.
 
Instance Attribute Details
#x ⇒ Integer
Returns X coordinate.
      27  | 
    
      # File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 27 class Vertex; end  | 
  
#y ⇒ Integer
Returns Y coordinate.
      27  | 
    
      # File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 27 class Vertex; end  |