# Class Overlay (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

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

Overlay configuration.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `image` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.Overlay.Image` Image overlay. |
| `animations` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.Overlay.Animation]` List of animations. The list should be chronological, without any time overlap. |

## Classes

### Animation

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

Animation types.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### AnimationEnd

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

End previous overlay animation from the video. Without
`AnimationEnd`, the overlay object will keep the state of previous
animation until the end of the video.

### AnimationFade

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

Display overlay object with fade animation.

### AnimationStatic

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

Display static overlay object.

### FadeType

    FadeType(value)

Fade type for the overlay: `FADE_IN` or `FADE_OUT`.

### Image

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

Overlaid image.

### NormalizedCoordinate

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

2D normalized coordinates. Default: `{0.0, 0.0}`