Class: Imagekitio::Models::OverlayTiming
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::OverlayTiming
- Defined in:
- lib/imagekitio/models/overlay_timing.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#duration ⇒ Float, ...
Specifies the duration (in seconds) during which the overlay should appear on the base video.
-
#end_ ⇒ Float, ...
Specifies the end time (in seconds) for when the overlay should disappear from the base video.
-
#start ⇒ Float, ...
Specifies the start time (in seconds) for when the overlay should appear on the base video.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(duration: nil, end_: nil, start: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see OverlayTiming for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(duration: nil, end_: nil, start: nil) ⇒ Object
Some parameter documentations has been truncated, see Imagekitio::Models::OverlayTiming for more details.
|
|
# File 'lib/imagekitio/models/overlay_timing.rb', line 34
|
Instance Attribute Details
#duration ⇒ Float, ...
Specifies the duration (in seconds) during which the overlay should appear on the base video. Accepts a positive number up to two decimal places (e.g., ‘20` or `20.50`) and arithmetic expressions such as `bdu_mul_0.4` or `bdu_sub_idu`. Applies only if the base asset is a video. Maps to `ldu` in the URL.
13 |
# File 'lib/imagekitio/models/overlay_timing.rb', line 13 optional :duration, union: -> { Imagekitio::OverlayTiming::Duration } |
#end_ ⇒ Float, ...
Specifies the end time (in seconds) for when the overlay should disappear from the base video. If both end and duration are provided, duration is ignored. Accepts a positive number up to two decimal places (e.g., ‘20` or `20.50`) and arithmetic expressions such as `bdu_mul_0.4` or `bdu_sub_idu`. Applies only if the base asset is a video. Maps to `leo` in the URL.
23 |
# File 'lib/imagekitio/models/overlay_timing.rb', line 23 optional :end_, union: -> { Imagekitio::OverlayTiming::End }, api_name: :end |
#start ⇒ Float, ...
Specifies the start time (in seconds) for when the overlay should appear on the base video. Accepts a positive number up to two decimal places (e.g., ‘20` or `20.50`) and arithmetic expressions such as `bdu_mul_0.4` or `bdu_sub_idu`. Applies only if the base asset is a video. Maps to `lso` in the URL.
32 |
# File 'lib/imagekitio/models/overlay_timing.rb', line 32 optional :start, union: -> { Imagekitio::OverlayTiming::Start } |
Class Method Details
.variants ⇒ Array(Float, String)
|
|
# File 'lib/imagekitio/models/overlay_timing.rb', line 57
|