TextAnnotation2dCreateArgs Interface
Arguments supplied when creating a TextAnnotation2d.
Properties
| Name | Type | Description | |
|---|---|---|---|
| category | string | The category ID for the annotation. | |
| code | CodeProps | undefined | Optional code for the element. | |
| defaultTextStyleId | string | undefined | The default text style ID for the annotation. | |
| model | string | The model ID where the annotation will be placed. | |
| placement | Placement2dProps | The placement properties for the annotation. | |
| textAnnotationProps | TextAnnotationProps | undefined | Optional TextAnnotation JSON representation used to create the TextAnnotation2d. |
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.