class Google::Apis::TranscoderV1::AnimationFade
Display overlay object with fade animation.
Attributes
end_time_offset[RW]
The time to end the fade animation, in seconds. Default: ‘start_time_offset` + 1s Corresponds to the JSON property `endTimeOffset` @return [String]
fade_type[RW]
Required. Type of fade animation: ‘FADE_IN` or `FADE_OUT`. Corresponds to the JSON property `fadeType` @return [String]
start_time_offset[RW]
The time to start the fade animation, in seconds. Default: 0 Corresponds to the JSON property ‘startTimeOffset` @return [String]
xy[RW]
2D normalized coordinates. Default: “0.0, 0.0“ Corresponds to the JSON property ‘xy` @return [Google::Apis::TranscoderV1::NormalizedCoordinate]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 124 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/transcoder_v1/classes.rb, line 129 def update!(**args) @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset) @fade_type = args[:fade_type] if args.key?(:fade_type) @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) @xy = args[:xy] if args.key?(:xy) end