AnnotationChangedEvent¶
Class AnnotationChangedEvent
Hierarchy (View Summary)
- WebVisEvent
- AnnotationChangedEvent
Index
Constructors
Properties
Accessors
Constructors
constructor
- new AnnotationChangedEvent(
annotationID: number,
properties: AnnotationProperties,
_labelPosition: number[] | Float32Array<ArrayBufferLike>,
): AnnotationChangedEvent The AnnotationChangedEvent occurs if an Annotation was changed.
Parameters
- annotationID: number
The ID of the Annotation.
- properties: AnnotationProperties
An object with the changed properties.
- _labelPosition: number[] | Float32Array<ArrayBufferLike>
Returns AnnotationChangedEvent
- annotationID: number
Properties
annotationID
annotationID: number
The ID of the Annotation.
id
id: number
properties
An object with the changed properties.
Optional
transaction Code
transactionCode?: string
Optional
transactionID
transactionID?: number
Optional
type
Accessors
active
- get active(): boolean
Returns boolean
anchor Position
- get anchorPosition(): number[] | Float32Array<ArrayBufferLike>
Returns number[] | Float32Array<ArrayBufferLike>
label
- get label(): string
Returns string
label Position
- get labelPosition(): number[] | Float32Array<ArrayBufferLike>
Returns number[] | Float32Array<ArrayBufferLike>
transform
- get transform(): number[] | Float32Array<ArrayBufferLike>
Returns number[] | Float32Array<ArrayBufferLike>
trusted Source
- get trustedSource(): boolean
Returns boolean
visible
- get visible(): boolean
Returns boolean
ANNOTATION_CHANGED ANNOTATION_CHANGED