Module: Imagekitio::Models::TextOverlayTransformation::Width
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/imagekitio/models/text_overlay_transformation.rb
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](imagekit.io/docs/arithmetic-expressions-in-transformations).
Class Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, 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 262
|