Module: Imagekitio::Models::OverlayPosition::YCenter

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

Overview

Specifies the y-coordinate on the base asset where the overlay's center will be positioned. It also accepts arithmetic expressions such as bh_mul_0.4 or bh_sub_ch. Maps to lyc in the URL. Cannot be used together with y, but can be used with x. Learn about Arithmetic expressions.

See Also:

  • Imagekitio::Models::OverlayPosition#y_center

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

.variantsArray(Float, String)

Returns:

  • (Array(Float, String))


# File 'lib/imagekitio/models/overlay_position.rb', line 190

Instance Method Details

#self?.variants::Array[Imagekitio::Models::OverlayPosition::y_center]

Returns:

  • (::Array[Imagekitio::Models::OverlayPosition::y_center])


151
# File 'sig/imagekitio/models/overlay_position.rbs', line 151

def self?.variants: -> ::Array[Imagekitio::Models::OverlayPosition::y_center]