2023-08-16 16:31:50 -07:00
|
|
|
|
2024-01-06 18:32:21 -08:00
|
|
|
from pydantic import BaseModel, ConfigDict
|
2023-08-16 16:31:50 -07:00
|
|
|
|
|
|
|
from ..models.annotation_text_alignment_x import AnnotationTextAlignmentX
|
|
|
|
from ..models.annotation_text_alignment_y import AnnotationTextAlignmentY
|
|
|
|
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class AnnotationTextOptions(BaseModel):
|
|
|
|
"""Options for annotation text"""
|
2023-08-16 16:31:50 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
point_size: int
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
text: str
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
x: AnnotationTextAlignmentX
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
y: AnnotationTextAlignmentY
|
2024-01-06 18:32:21 -08:00
|
|
|
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|