module Line::Message::Builder::Flex::Position::Vertical
Provides the gravity option for vertical alignment of a component within its parent Box (if the parent box’s layout is horizontal or baseline). For components like Image or Text, this controls their vertical alignment within the space allocated to them.
Public Instance Methods
Source
# File lib/line/message/builder/flex/position.rb, line 55
Sets or gets the vertical alignment (gravity).
- value
-
Gravity keyword:
:top(aligns to the top),:center(aligns to the center),:bottom(aligns to the bottom)