Class: Google::Apis::TranscoderV1beta1::AnimationStatic
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::AnimationStatic
- 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
-
#start_time_offset ⇒ String
The time to start displaying the overlay object, in seconds.
-
#xy ⇒ Google::Apis::TranscoderV1beta1::NormalizedCoordinate
2D normalized coordinates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnimationStatic
constructor
A new instance of AnimationStatic.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_offset ⇒ String
The time to start displaying the overlay object, in seconds. Default: 0
Corresponds to the JSON property startTimeOffset
164 165 166 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 164 def start_time_offset @start_time_offset end |
#xy ⇒ Google::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 |