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: Float32Array | number[]
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(): Float32Array | number[]
-
Returns Float32Array | number[]
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(): Float32Array | number[]
-
Returns Float32Array | number[]
Deprecated
labelPosition is deprecated, please use properties.contentOffset instead.
transform
- get transform(): Float32Array | number[]
-
Returns Float32Array | number[]
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