Class: Google::Apis::TranscoderV1::Animation
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::Animation
- 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
Animation types.
Instance Attribute Summary collapse
-
#animation_end ⇒ Google::Apis::TranscoderV1::AnimationEnd
End previous overlay animation from the video.
-
#animation_fade ⇒ Google::Apis::TranscoderV1::AnimationFade
Display overlay object with fade animation.
-
#animation_static ⇒ Google::Apis::TranscoderV1::AnimationStatic
Display static overlay object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Animation
constructor
A new instance of Animation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Animation
Returns a new instance of Animation.
79 80 81 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 79 def initialize(**args) update!(**args) end |
Instance Attribute Details
#animation_end ⇒ Google::Apis::TranscoderV1::AnimationEnd
End previous overlay animation from the video. Without AnimationEnd
, the
overlay object will keep the state of previous animation until the end of the
video.
Corresponds to the JSON property animationEnd
67 68 69 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 67 def animation_end @animation_end end |
#animation_fade ⇒ Google::Apis::TranscoderV1::AnimationFade
Display overlay object with fade animation.
Corresponds to the JSON property animationFade
72 73 74 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 72 def animation_fade @animation_fade end |
#animation_static ⇒ Google::Apis::TranscoderV1::AnimationStatic
Display static overlay object.
Corresponds to the JSON property animationStatic
77 78 79 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 77 def animation_static @animation_static end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
84 85 86 87 88 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 84 def update!(**args) @animation_end = args[:animation_end] if args.key?(:animation_end) @animation_fade = args[:animation_fade] if args.key?(:animation_fade) @animation_static = args[:animation_static] if args.key?(:animation_static) end |