kittycad.models.annotation_text_options.AnnotationTextOptions
- class kittycad.models.annotation_text_options.AnnotationTextOptions(point_size=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>, x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>)[source][source]
Bases:
object
Options for annotation text
Method generated by attrs for class AnnotationTextOptions.
- __init__(point_size=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>, x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AnnotationTextOptions.
Methods
__init__
([point_size, text, x, y])Method generated by attrs for class AnnotationTextOptions.
from_dict
(src_dict)- rtype:
TypeVar
(UZ
, bound= AnnotationTextOptions)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'point_size': typing.Union[kittycad.types.Unset, int], 'text': typing.Union[kittycad.types.Unset, str], 'x': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX], 'y': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_y.AnnotationTextAlignmentY]}[source]
- __attrs_attrs__ = (Attribute(name='point_size', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='point_size'), Attribute(name='text', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), Attribute(name='x', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x'), Attribute(name='y', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_y.AnnotationTextAlignmentY], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.annotation_text_options', '__annotations__': {'point_size': typing.Union[kittycad.types.Unset, int], 'text': typing.Union[kittycad.types.Unset, str], 'x': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX], 'y': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_y.AnnotationTextAlignmentY], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Options for annotation text', 'to_dict': <function AnnotationTextOptions.to_dict>, 'from_dict': <classmethod(<function AnnotationTextOptions.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AnnotationTextOptions.__getitem__>, '__setitem__': <function AnnotationTextOptions.__setitem__>, '__delitem__': <function AnnotationTextOptions.__delitem__>, '__contains__': <function AnnotationTextOptions.__contains__>, '__dict__': <attribute '__dict__' of 'AnnotationTextOptions' objects>, '__weakref__': <attribute '__weakref__' of 'AnnotationTextOptions' objects>, '__attrs_attrs__': (Attribute(name='point_size', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='point_size'), Attribute(name='text', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), Attribute(name='x', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_x.AnnotationTextAlignmentX], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x'), Attribute(name='y', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_alignment_y.AnnotationTextAlignmentY], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function AnnotationTextOptions.__repr__>, '__eq__': <function AnnotationTextOptions.__eq__>, '__ne__': <function AnnotationTextOptions.__ne__>, '__lt__': <function AnnotationTextOptions.__lt__>, '__le__': <function AnnotationTextOptions.__le__>, '__gt__': <function AnnotationTextOptions.__gt__>, '__ge__': <function AnnotationTextOptions.__ge__>, '__hash__': None, '__init__': <function AnnotationTextOptions.__init__>, '__match_args__': ('point_size', 'text', 'x', 'y')})[source]
- __init__(point_size=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>, x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AnnotationTextOptions.