Module: Imagekitio::Models::Transformation::Radius

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

Overview

Specifies the corner radius for rounded corners.

  • Single value (positive integer): Applied to all corners (e.g., 20).
  • max: Creates a circular or oval shape.
  • Per-corner array: Provide four underscore-separated values representing top-left, top-right, bottom-right, and bottom-left corners respectively (e.g., 10_20_30_40). See Radius.

See Also:

  • Imagekitio::Models::Transformation#radius

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::radius]

Returns:

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


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

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