AnnotationCreatedEvent¶
Class AnnotationCreatedEvent
Hierarchy (View Summary)
- WebVisEvent
- AnnotationCreatedEvent
Index
Constructors
Properties
Accessors
Constructors
constructor
- new AnnotationCreatedEvent(
annotationID: number,
properties: AnnotationProperties,
): AnnotationCreatedEvent The AnnotationCreatedEvent occurs if an Annotation was created.
Parameters
- annotationID: number
The ID of the Annotation.
- properties: AnnotationProperties
An object with the changed properties.
Returns AnnotationCreatedEvent
- 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
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>
nodeID
- get nodeID(): number
Returns number
transform
- get transform(): number[] | Float32Array<ArrayBufferLike>
Returns number[] | Float32Array<ArrayBufferLike>
trusted Source
- get trustedSource(): boolean
Returns boolean
visible
- get visible(): boolean
Returns boolean
ANNOTATION_CREATED ANNOTATION_CREATED