Alignment
Defines the alignment and distribution of items along an axis.
- Bases
- enum.Enum
Attributes
- Name
START- Type
- Value
= enum.auto()
- Description
Items are packed toward the start of the direction.
- Name
END- Type
- Value
= enum.auto()
- Description
Items are packed toward the end of the direction.
- Name
CENTER- Type
- Value
= enum.auto()
- Description
Items are centered along the direction.
- Name
SPACE_BETWEEN- Type
- Value
= enum.auto()
- Description
Items are evenly distributed in the direction; first item is on the start line, last item on the end line.
- Name
SPACE_AROUND- Type
- Value
= enum.auto()
- Description
Items are evenly distributed in the direction with equal space around them.
- Name
SPACE_EVENLY- Type
- Value
= enum.auto()
- Description
Items are distributed so that the spacing between any two items (and the space to the edges) is equal.