setAnnotation Method
Change the textual content, updating the element's geometry and placement accordingly.
setAnnotation(annotation: TextAnnotation): void
@see getAnnotation to extract the current annotation.
Parameter | Type | Description |
---|---|---|
annotation | TextAnnotation | The new annotation |
Returns - void
Defined in
Last Updated: 07 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.