AnnotationChangedEvent#
Class AnnotationChangedEvent
Hierarchy
- WebVisEvent
- AnnotationChangedEvent
Index
Constructors
Properties
Accessors
Constructors
constructor
- new
Annotation Changed Event(annotationID, properties, _labelPosition): 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
Returns AnnotationChangedEvent
-
Properties
annotationID
annotationID: number
The ID of the Annotation.
id
id: number
properties
An object with the changed properties.
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
Accessors
active
- get active(): boolean
-
Returns boolean
Deprecated
active is deprecated.
anchor Position
- get anchorPosition(): number[] | Float32Array
-
Returns number[] | Float32Array
Deprecated
anchorPosition is deprecated, please use properties.anchorPosition instead.
label
- get label(): string
-
Returns string
Deprecated
label is deprecated, please use properties.content instead.
label Position
- get labelPosition(): number[] | Float32Array
-
Returns number[] | Float32Array
Deprecated
labelPosition is deprecated, please use properties.contentOffset instead.
transform
- get transform(): number[] | Float32Array
-
Returns number[] | Float32Array
Deprecated
transform is deprecated.
trusted Source
- get trustedSource(): boolean
-
Returns boolean
Deprecated
trustedSource is deprecated, please use properties.trustedSource instead.
visible
- get visible(): boolean
-
Returns boolean
Deprecated
visible is deprecated, please use properties.enabled instead.
ANNOTATION_CHANGED ANNOTATION_CHANGED