applied-ai-018's picture
Add files using upload-large-folder tool
618c5a9 verified
raw
history blame contribute delete
535 Bytes
"""
.. codeauthor:: Tsuyoshi Hombashi <[email protected]>
"""
import enum
@enum.unique
class Align(enum.Enum):
AUTO = (1 << 0, "auto")
LEFT = (1 << 1, "left")
RIGHT = (1 << 2, "right")
CENTER = (1 << 3, "center")
@property
def align_code(self) -> int:
return self.__align_code
@property
def align_string(self) -> str:
return self.__align_string
def __init__(self, code: int, string: str) -> None:
self.__align_code = code
self.__align_string = string