Class Google::Cloud::DocumentAI::V1beta3::NormalizedVertex (v0.9.4)

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#x

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

#x=

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

#y

def y() -> ::Float
Returns
  • (::Float) — Y coordinate (starts from the top of the image).

#y=

def y=(value) -> ::Float
Parameter
  • value (::Float) — Y coordinate (starts from the top of the image).
Returns
  • (::Float) — Y coordinate (starts from the top of the image).