Method: TD::Types::MaskPosition#y_shift

Defined in:
lib/tdlib/types/mask_position.rb

#y_shiftFloat

Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. (For example, 1.0 will place the mask just below the default mask position).

Returns:

  • (Float)

    the current value of y_shift



11
12
13
# File 'lib/tdlib/types/mask_position.rb', line 11

def y_shift
  @y_shift
end