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.
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.
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.
[[["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-08-07 UTC."],[],[],null,["# Interface Overlay.AnimationFadeOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder) \n\n public static interface Overlay.AnimationFadeOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEndTimeOffset()\n\n public abstract Duration getEndTimeOffset()\n\nThe time to end the fade animation, in seconds. Default:\n`start_time_offset` + 1s\n\n`.google.protobuf.Duration end_time_offset = 4;`\n\n### getEndTimeOffsetOrBuilder()\n\n public abstract DurationOrBuilder getEndTimeOffsetOrBuilder()\n\nThe time to end the fade animation, in seconds. Default:\n`start_time_offset` + 1s\n\n`.google.protobuf.Duration end_time_offset = 4;`\n\n### getFadeType()\n\n public abstract Overlay.FadeType getFadeType()\n\nRequired. Type of fade animation: `FADE_IN` or `FADE_OUT`.\n\n`.google.events.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1;`\n\n### getFadeTypeValue()\n\n public abstract int getFadeTypeValue()\n\nRequired. Type of fade animation: `FADE_IN` or `FADE_OUT`.\n\n`.google.events.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1;`\n\n### getStartTimeOffset()\n\n public abstract Duration getStartTimeOffset()\n\nThe time to start the fade animation, in seconds. Default: 0\n\n`.google.protobuf.Duration start_time_offset = 3;`\n\n### getStartTimeOffsetOrBuilder()\n\n public abstract DurationOrBuilder getStartTimeOffsetOrBuilder()\n\nThe time to start the fade animation, in seconds. Default: 0\n\n`.google.protobuf.Duration start_time_offset = 3;`\n\n### getXy()\n\n public abstract Overlay.NormalizedCoordinate 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`.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;`\n\n### getXyOrBuilder()\n\n public abstract Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder()\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`.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;`\n\n### hasEndTimeOffset()\n\n public abstract boolean hasEndTimeOffset()\n\nThe time to end the fade animation, in seconds. Default:\n`start_time_offset` + 1s\n\n`.google.protobuf.Duration end_time_offset = 4;`\n\n### hasStartTimeOffset()\n\n public abstract boolean hasStartTimeOffset()\n\nThe time to start the fade animation, in seconds. Default: 0\n\n`.google.protobuf.Duration start_time_offset = 3;`\n\n### hasXy()\n\n public abstract boolean hasXy()\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`.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;`"]]