Class: Telegram::Bot::Types::MaskPosition
- Defined in:
- sig/telegram/bot/types/mask_position.rbs
Instance Attribute Summary collapse
-
#point ⇒ String
readonly
Returns the value of attribute point.
-
#scale ⇒ Float
readonly
Returns the value of attribute scale.
-
#x_shift ⇒ Float
readonly
Returns the value of attribute x_shift.
-
#y_shift ⇒ Float
readonly
Returns the value of attribute y_shift.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#point ⇒ String (readonly)
Returns the value of attribute point.
8 9 10 |
# File 'sig/telegram/bot/types/mask_position.rbs', line 8 def point @point end |
#scale ⇒ Float (readonly)
Returns the value of attribute scale.
11 12 13 |
# File 'sig/telegram/bot/types/mask_position.rbs', line 11 def scale @scale end |
#x_shift ⇒ Float (readonly)
Returns the value of attribute x_shift.
9 10 11 |
# File 'sig/telegram/bot/types/mask_position.rbs', line 9 def x_shift @x_shift end |
#y_shift ⇒ Float (readonly)
Returns the value of attribute y_shift.
10 11 12 |
# File 'sig/telegram/bot/types/mask_position.rbs', line 10 def y_shift @y_shift end |
Class Method Details
.new(point:, x_shift:, y_shift:, scale:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/mask_position.rbs', line 6
def self.new: (point: String, x_shift: Float, y_shift: Float, scale: Float) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|