Module: Imagekitio::Models::Transformation::AspectRatio
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/imagekitio/models/transformation.rb,
sig/imagekitio/models/transformation.rbs
Overview
Specifies the aspect ratio for the output, e.g., "ar-4-3". Typically used with
either width or height (but not both). For example: aspectRatio = 4:3, 4_3,
or an expression like iar_div_2. See
Image resize and crop – Aspect ratio.
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::aspect_ratio]
528 |
# File 'sig/imagekitio/models/transformation.rbs', line 528
def self?.variants: -> ::Array[Imagekitio::Models::Transformation::aspect_ratio]
|