Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::NormalizedCoordinate (v1.1.0)

Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::NormalizedCoordinate.

2D normalized coordinates.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#x

def x() -> ::Float
Returns
  • (::Float) — Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

#x=

def x=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.
Returns
  • (::Float) — Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

#y

def y() -> ::Float
Returns
  • (::Float) — Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

#y=

def y=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.
Returns
  • (::Float) — Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.