Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::Overlay::AnimationFade.
Display overlay object with fade animation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time_offset
def end_time_offset() -> ::Google::Protobuf::Duration
Returns
-
(::Google::Protobuf::Duration) — The time to end the fade animation, in seconds. Default:
start_time_offset
+ 1s
#end_time_offset=
def end_time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
-
value (::Google::Protobuf::Duration) — The time to end the fade animation, in seconds. Default:
start_time_offset
+ 1s
Returns
-
(::Google::Protobuf::Duration) — The time to end the fade animation, in seconds. Default:
start_time_offset
+ 1s
#fade_type
def fade_type() -> ::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType
Returns
-
(::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType) — Required. Type of fade animation:
FADE_IN
orFADE_OUT
.
#fade_type=
def fade_type=(value) -> ::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType
Parameter
-
value (::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType) — Required. Type of fade animation:
FADE_IN
orFADE_OUT
.
Returns
-
(::Google::Cloud::Video::Transcoder::V1::Overlay::FadeType) — Required. Type of fade animation:
FADE_IN
orFADE_OUT
.
#start_time_offset
def start_time_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The time to start the fade animation, in seconds. Default: 0
#start_time_offset=
def start_time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The time to start the fade animation, in seconds. Default: 0
Returns
- (::Google::Protobuf::Duration) — The time to start the fade animation, in seconds. Default: 0
#xy
def xy() -> ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Returns
-
(::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate) — 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.
#xy=
def xy=(value) -> ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Parameter
-
value (::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate) — 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.
Returns
-
(::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate) — 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.