AnnotationState
Represents the current state of an annotation in the user interface. The AnnotationState is passed to dynamic style functions as an argument.
Example
Properties
Property | Type | Description |
---|---|---|
selected | boolean | Whether the annotation is currently selected. |
hovered | boolean | Whether the mouse currently hovers over the annotation. |