Module: Imagekitio::Models::OverlayPosition::XCenter

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

Overview

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

See Also:

  • Imagekitio::Models::OverlayPosition#x_center

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::OverlayPosition::x_center]

Returns:

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


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

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