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.
-
Optionallabel: stringThe text of the annotation.
-
Optionalvisible: booleanIndicates if the annotation should be visible or hidden.
-
OptionalanchorPosition: Float32Array | number[]Anchor position in world space coordinates.
-
OptionallabelPosition: Float32Array | number[]Label position in world space coordinates.
-
Optionalactive: booleanIndicates if the annotation is active or not.
-
Optionaltransform: Float32Array | number[]The local transform matrix of the annotation.
-
OptionaltrustedSource: 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