kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX

class kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX(value)[source][source]

Bases: str, Enum

Horizontal Text alignment

__init__()[source]

Attributes

LEFT

CENTER

RIGHT

CENTER = 'center'[source]
LEFT = 'left'[source]
RIGHT = 'right'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.annotation_text_alignment_x', '__doc__': 'Horizontal Text alignment', '__str__': <function AnnotationTextAlignmentX.__str__>, '__dict__': <attribute '__dict__' of 'AnnotationTextAlignmentX' objects>, '__weakref__': <attribute '__weakref__' of 'AnnotationTextAlignmentX' objects>, '_member_names_': ['LEFT', 'CENTER', 'RIGHT'], '_member_map_': {'LEFT': <AnnotationTextAlignmentX.LEFT: 'left'>, 'CENTER': <AnnotationTextAlignmentX.CENTER: 'center'>, 'RIGHT': <AnnotationTextAlignmentX.RIGHT: 'right'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'left': <AnnotationTextAlignmentX.LEFT: 'left'>, 'center': <AnnotationTextAlignmentX.CENTER: 'center'>, 'right': <AnnotationTextAlignmentX.RIGHT: 'right'>}, 'LEFT': <AnnotationTextAlignmentX.LEFT: 'left'>, 'CENTER': <AnnotationTextAlignmentX.CENTER: 'center'>, 'RIGHT': <AnnotationTextAlignmentX.RIGHT: 'right'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.annotation_text_alignment_x'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'CENTER': AnnotationTextAlignmentX.CENTER, 'LEFT': AnnotationTextAlignmentX.LEFT, 'RIGHT': AnnotationTextAlignmentX.RIGHT}[source]
_member_names_ = ['LEFT', 'CENTER', 'RIGHT'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'center': AnnotationTextAlignmentX.CENTER, 'left': AnnotationTextAlignmentX.LEFT, 'right': AnnotationTextAlignmentX.RIGHT}[source]