Class: Google::Apis::TranscoderV1beta1::AnimationStatic

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb

Overview

Display static overlay object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnimationStatic

Returns a new instance of AnimationStatic.



171
172
173
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 171

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#start_time_offsetString

The time to start displaying the overlay object, in seconds. Default: 0 Corresponds to the JSON property startTimeOffset

Returns:

  • (String)


164
165
166
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 164

def start_time_offset
  @start_time_offset
end

#xyGoogle::Apis::TranscoderV1beta1::NormalizedCoordinate

2D normalized coordinates. Default: 0.0, 0.0 Corresponds to the JSON property xy



169
170
171
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 169

def xy
  @xy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
179
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 176

def update!(**args)
  @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
  @xy = args[:xy] if args.key?(:xy)
end