Module: Imagekitio::Models::Transformation::Width

Extended by:
Internal::Type::Union
Defined in:
lib/imagekitio/models/transformation.rb,
sig/imagekitio/models/transformation.rbs

Overview

Specifies the width of the output. If a value between 0 and 1 is provided, it is treated as a percentage (e.g., 0.4 represents 40% of the original width). You can also supply arithmetic expressions (e.g., iw_div_2). Width transformation – Images · Videos

See Also:

  • Imagekitio::Models::Transformation#width

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.variants::Array[Imagekitio::Models::Transformation::width]

Returns:

  • (::Array[Imagekitio::Models::Transformation::width])


761
# File 'sig/imagekitio/models/transformation.rbs', line 761

def self?.variants: -> ::Array[Imagekitio::Models::Transformation::width]