TextDecoration
TextDecoration
#
Bases: IntFlag
A linear decoration to draw near the text.
combine
#
combine(
decorations: list[TextDecoration],
) -> TextDecoration
Creates a decoration that paints the union of all the given decorations.
Usage Example#
The enum is a flag, so multiple decorations can be combined together as follows: