# Class AnimationFade (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.2 1.14.0 1.13.1 1.12.5 1.11.0 1.10.1 1.9.1 1.8.2 1.7.0 1.6.1 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.1 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

    AnimationFade(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Display overlay object with fade animation.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `fade_type` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.Overlay.FadeType` Required. Type of fade animation: `FADE_IN` or `FADE_OUT`. |
| `xy` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.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` | `google.protobuf.duration_pb2.Duration` The time to start the fade animation, in seconds. Default: 0 |
| `end_time_offset` | `google.protobuf.duration_pb2.Duration` The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s |