"""
Alignment options for the pyWebLayout library.

This module provides alignment-related functionality.
"""

from enum import Enum


class Alignment(Enum):
    """Text and box alignment options"""
    # Horizontal alignment
    LEFT = "left"
    RIGHT = "right"
    CENTER = "center"
    JUSTIFY = "justify"

    # Vertical alignment
    TOP = "top"
    MIDDLE = "middle"
    BOTTOM = "bottom"

    def __str__(self):
        """Return the string value of the alignment."""
        return self.value
