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