Class: Google::Apis::TranscoderV1::AnimationStatic
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::AnimationStatic
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Display static overlay object.
Instance Attribute Summary collapse
-
#start_time_offset ⇒ String
The time to start displaying the overlay object, in seconds.
-
#xy ⇒ Google::Apis::TranscoderV1::NormalizedCoordinate
2D normalized coordinates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnimationStatic
constructor
A new instance of AnimationStatic.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnimationStatic
Returns a new instance of AnimationStatic.
151 152 153 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#start_time_offset ⇒ String
The time to start displaying the overlay object, in seconds. Default: 0
Corresponds to the JSON property startTimeOffset
144 145 146 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 144 def start_time_offset @start_time_offset end |
#xy ⇒ Google::Apis::TranscoderV1::NormalizedCoordinate
2D normalized coordinates. Default: 0.0, 0.0
Corresponds to the JSON property xy
149 150 151 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 149 def xy @xy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
156 157 158 159 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 156 def update!(**args) @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) @xy = args[:xy] if args.key?(:xy) end |