Class: Google::Cloud::Video::Transcoder::V1::Overlay::AnimationFade
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1::Overlay::AnimationFade
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1/resources.rb
Overview
Display overlay object with fade animation.
Instance Attribute Summary collapse
-
#end_time_offset ⇒ ::Google::Protobuf::Duration
The time to end the fade animation, in seconds.
-
#fade_type ⇒ ::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType
Required.
-
#start_time_offset ⇒ ::Google::Protobuf::Duration
The time to start the fade animation, in seconds.
-
#xy ⇒ ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Normalized coordinates based on output video resolution.
Instance Attribute Details
#end_time_offset ⇒ ::Google::Protobuf::Duration
Returns The time to end the fade animation, in seconds. Default:
start_time_offset
+ 1s.
577 578 579 580 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 577 class AnimationFade include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#fade_type ⇒ ::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType
Returns Required. Type of fade animation: FADE_IN
or FADE_OUT
.
577 578 579 580 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 577 class AnimationFade include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_time_offset ⇒ ::Google::Protobuf::Duration
Returns The time to start the fade animation, in seconds. Default: 0.
577 578 579 580 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 577 class AnimationFade include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#xy ⇒ ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Returns Normalized coordinates based on output video resolution. Valid
values: 0.0
–1.0
. xy
is the upper-left coordinate of the overlay
object. For example, use the x and y coordinates {0,0} to position the
top-left corner of the overlay animation in the top-left corner of the
output video.
577 578 579 580 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 577 class AnimationFade include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |