Class: Google::Apis::TranscoderV1::AnimationStatic

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/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.



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

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)


157
158
159
# File 'lib/google/apis/transcoder_v1/classes.rb', line 157

def start_time_offset
  @start_time_offset
end

#xyGoogle::Apis::TranscoderV1::NormalizedCoordinate

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



162
163
164
# File 'lib/google/apis/transcoder_v1/classes.rb', line 162

def xy
  @xy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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