Class: Google::Cloud::Vision::V1::NormalizedVertex

Inherits:
Object
  • Object
show all
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 normalized vertex coordinates are relative to the original image and range from 0 to 1.

Instance Attribute Summary collapse

Instance Attribute Details

#xFloat

Returns X coordinate.

Returns:

  • (Float)

    X coordinate.



38
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 38

class NormalizedVertex; end

#yFloat

Returns Y coordinate.

Returns:

  • (Float)

    Y coordinate.



38
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 38

class NormalizedVertex; end