GoogleApi.Transcoder.V1.Model.AnimationFade (google_api_transcoder v0.4.2)

View Source

Display overlay object with fade animation.

Attributes

  • endTimeOffset (type: String.t, default: nil) - The time to end the fade animation, in seconds. Default: start_time_offset + 1s
  • fadeType (type: String.t, default: nil) - Required. Type of fade animation: FADE_IN or FADE_OUT.
  • startTimeOffset (type: String.t, default: nil) - The time to start the fade animation, in seconds. Default: 0
  • xy (type: GoogleApi.Transcoder.V1.Model.NormalizedCoordinate.t, default: nil) - Normalized coordinates based on output video resolution. Valid values: 0.01.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Transcoder.V1.Model.AnimationFade{
  endTimeOffset: String.t() | nil,
  fadeType: String.t() | nil,
  startTimeOffset: String.t() | nil,
  xy: GoogleApi.Transcoder.V1.Model.NormalizedCoordinate.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.