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

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

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.

#y=

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