Module: Imagekitio::Models::ExtensionItem

Extended by:
Internal::Type::Union
Defined in:
lib/imagekitio/models/extensions.rb

Defined Under Namespace

Classes: AIAutoDescription, AutoTaggingExtension, RemoveBg

Class Method Summary collapse

Instance 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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/imagekitio/models/extensions.rb', line 113

Instance Method Details

#initialize(add_shadow: nil, bg_color: nil, bg_image_url: nil, semitransparency: nil) ⇒ Object

Some parameter documentations has been truncated, see Imagekitio::Models::ExtensionItem::RemoveBg::Options for more details.

Parameters:

  • add_shadow (Boolean) (defaults to: nil)

    Whether to add an artificial shadow to the result. Default is false. Note: Addin

  • bg_color (String) (defaults to: nil)

    Specifies a solid color background using hex code (e.g., “81d4fa”, “fff”) or col

  • bg_image_url (String) (defaults to: nil)

    Sets a background image from a URL. If this parameter is set, ‘bg_color` must be

  • semitransparency (Boolean) (defaults to: nil)

    Allows semi-transparent regions in the result. Default is true. Note: Semitransp



# File 'lib/imagekitio/models/extensions.rb', line 64