AnnotationChangedEvent#
Class AnnotationChangedEvent
Hierarchy
- WebVisEvent
- AnnotationChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Annotation Changed Event(annotationID: number, label?: string, visible?: boolean, anchorPosition?: Float32Array | number[], labelPosition?: Float32Array | number[], active?: boolean, transform?: Float32Array | number[], trustedSource?: boolean): AnnotationChangedEvent -
The AnnotationChangedEvent occurs if an annotation was changed.
Parameters
-
annotationID: number
The ID of the annotation.
-
Optional
label: stringThe text of the annotation.
-
Optional
visible: booleanIndicates if the annotation should be visible or hidden.
-
Optional
anchorPosition: Float32Array | number[]Anchor position in world space coordinates.
-
Optional
labelPosition: Float32Array | number[]Label position in world space coordinates.
-
Optional
active: booleanIndicates if the annotation is active or not.
-
Optional
transform: Float32Array | number[]The local transform matrix of the annotation.
-
Optional
trustedSource: booleanSpecifies if the annotation content comes from a trusted source.
Returns AnnotationChangedEvent
-
Properties
Optional
active
active?: boolean
Optional
anchor Position
anchor Position?: Float32Array | number[]
annotationID
annotationID: number
id
id: number
Optional
label
label?: string
Optional
label Position
label Position?: Float32Array | number[]
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
transform
transform?: Float32Array | number[]
Optional
trusted Source
trusted Source?: boolean
Optional
type
type?: EventType
Optional
visible
visible?: boolean
ANNOTATION_CHANGED ANNOTATION_CHANGED