Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class AnimationFade.
Display overlay object with fade animation.
Generated from protobuf message google.cloud.video.transcoder.v1beta1.Overlay.AnimationFade
Namespace
Google \ Cloud \ Video \ Transcoder \ V1beta1 \ OverlayMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ fade_type
int
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
↳ xy
Google\Cloud\Video\Transcoder\V1beta1\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.
↳ start_time_offset
↳ end_time_offset
Google\Protobuf\Duration
The time to end the fade animation, in seconds. Default: start_time_offset
+ 1s
getFadeType
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
int
setFadeType
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
var
int
$this
getXy
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.
hasXy
clearXy
setXy
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.
$this
getStartTimeOffset
The time to start the fade animation, in seconds. Default: 0
hasStartTimeOffset
clearStartTimeOffset
setStartTimeOffset
The time to start the fade animation, in seconds. Default: 0
$this
getEndTimeOffset
The time to end the fade animation, in seconds. Default: start_time_offset
+ 1s
hasEndTimeOffset
clearEndTimeOffset
setEndTimeOffset
The time to end the fade animation, in seconds. Default: start_time_offset
+ 1s
$this