Normalized coordinates based on output video resolution. Valid values:0.0–1.0.xyis 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.
The time to end the fade animation, in seconds. Default:start_time_offset+ 1s
getFadeType
Required. Type of fade animation:FADE_INorFADE_OUT.
Returns
Type
Description
int
setFadeType
Required. Type of fade animation:FADE_INorFADE_OUT.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getXy
Normalized coordinates based on output video resolution. Valid
values:0.0–1.0.xyis 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.
Normalized coordinates based on output video resolution. Valid
values:0.0–1.0.xyis 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Video Transcoder V1 Client - Class AnimationFade (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationFade)\n- [1.0.3](/php/docs/reference/cloud-video-transcoder/1.0.3/V1.Overlay.AnimationFade)\n- [0.10.5](/php/docs/reference/cloud-video-transcoder/0.10.5/V1.Overlay.AnimationFade)\n- [0.9.1](/php/docs/reference/cloud-video-transcoder/0.9.1/V1.Overlay.AnimationFade)\n- [0.8.2](/php/docs/reference/cloud-video-transcoder/0.8.2/V1.Overlay.AnimationFade)\n- [0.7.1](/php/docs/reference/cloud-video-transcoder/0.7.1/V1.Overlay.AnimationFade)\n- [0.6.0](/php/docs/reference/cloud-video-transcoder/0.6.0/V1.Overlay.AnimationFade)\n- [0.5.3](/php/docs/reference/cloud-video-transcoder/0.5.3/V1.Overlay.AnimationFade) \nReference documentation and code samples for the Google Cloud Video Transcoder V1 Client class AnimationFade.\n\nDisplay overlay object with fade animation.\n\nGenerated from protobuf message `google.cloud.video.transcoder.v1.Overlay.AnimationFade`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Transcoder \\\\ V1 \\\\ Overlay\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFadeType\n\nRequired. Type of fade animation: `FADE_IN` or `FADE_OUT`.\n\n### setFadeType\n\nRequired. Type of fade animation: `FADE_IN` or `FADE_OUT`.\n\n### getXy\n\nNormalized coordinates based on output video resolution. Valid\nvalues: `0.0`--`1.0`. `xy` is the upper-left coordinate of the overlay\nobject. For example, use the x and y coordinates {0,0} to position the\ntop-left corner of the overlay animation in the top-left corner of the\noutput video.\n\n### hasXy\n\n### clearXy\n\n### setXy\n\nNormalized coordinates based on output video resolution. Valid\nvalues: `0.0`--`1.0`. `xy` is the upper-left coordinate of the overlay\nobject. For example, use the x and y coordinates {0,0} to position the\ntop-left corner of the overlay animation in the top-left corner of the\noutput video.\n\n### getStartTimeOffset\n\nThe time to start the fade animation, in seconds. Default: 0\n\n### hasStartTimeOffset\n\n### clearStartTimeOffset\n\n### setStartTimeOffset\n\nThe time to start the fade animation, in seconds. Default: 0\n\n### getEndTimeOffset\n\nThe time to end the fade animation, in seconds. Default:\n`start_time_offset` + 1s\n\n### hasEndTimeOffset\n\n### clearEndTimeOffset\n\n### setEndTimeOffset\n\nThe time to end the fade animation, in seconds. Default:\n`start_time_offset` + 1s"]]