Constants¶
- class toga.constants.Direction(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
The direction a given property should act
- HORIZONTAL = 0¶
- VERTICAL = 1¶
- class toga.constants.Baseline(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
The meaning of a Y coordinate when drawing text.
- ALPHABETIC = 1¶
Alphabetic baseline of the first line
- TOP = 2¶
Top of text
- MIDDLE = 3¶
Middle of text
- BOTTOM = 4¶
Bottom of text