Module: Imagekitio::Models::TextOverlayTransformation::Width
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/imagekitio/models/text_overlay_transformation.rb,
sig/imagekitio/models/text_overlay_transformation.rbs
Overview
Specifies the maximum width (in pixels) of the overlaid text. The text wraps
automatically, and arithmetic expressions (e.g., bw_mul_0.2 or bh_div_2) are
supported. Useful when used in conjunction with the background. Learn about
Arithmetic expressions.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, 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
Class Method Details
.variants ⇒ Array(Float, String)
|
|
# File 'lib/imagekitio/models/text_overlay_transformation.rb', line 278
|
Instance Method Details
#self?.variants ⇒ ::Array[Imagekitio::Models::TextOverlayTransformation::width]
191 |
# File 'sig/imagekitio/models/text_overlay_transformation.rbs', line 191
def self?.variants: -> ::Array[Imagekitio::Models::TextOverlayTransformation::width]
|