18 lines
363 B
Python
18 lines
363 B
Python
|
|
from pydantic import BaseModel
|
|
|
|
from ..models.annotation_text_alignment_x import AnnotationTextAlignmentX
|
|
from ..models.annotation_text_alignment_y import AnnotationTextAlignmentY
|
|
|
|
|
|
class AnnotationTextOptions(BaseModel):
|
|
"""Options for annotation text"""
|
|
|
|
point_size: int
|
|
|
|
text: str
|
|
|
|
x: AnnotationTextAlignmentX
|
|
|
|
y: AnnotationTextAlignmentY
|