19 lines
380 B
Python
19 lines
380 B
Python
"""
|
|
Alignment options for the pyWebLayout library.
|
|
|
|
This module provides alignment-related functionality.
|
|
"""
|
|
|
|
from enum import Enum
|
|
|
|
class Alignment(Enum):
|
|
"""Text alignment options"""
|
|
LEFT = "left"
|
|
RIGHT = "right"
|
|
CENTER = "center"
|
|
JUSTIFY = "justify"
|
|
|
|
def __str__(self):
|
|
"""Return the string value of the alignment."""
|
|
return self.value
|