AnnotationChangedEvent

Class AnnotationChangedEvent

ANNOTATION_CHANGED ANNOTATION_CHANGED

Hierarchy

Constructors

  • The AnnotationChangedEvent occurs if an annotation was changed.

    Parameters

    • annotationID: number

      The ID of the annotation.

    • Optional label: string

      The text of the annotation.

    • Optional visible: boolean

      Indicates if the annotation should be visible or hidden.

    • Optional anchorPosition: Float32Array | number[]

      Anchor position in world space coordinates.

    • Optional labelPosition: Float32Array | number[]

      Label position in world space coordinates.

    • Optional active: boolean

      Indicates if the annotation is active or not.

    • Optional transform: Float32Array | number[]

      The local transform matrix of the annotation.

    • Optional trustedSource: boolean

      Specifies if the annotation content comes from a trusted source.

    Returns AnnotationChangedEvent

Properties

active?: boolean
anchorPosition?: Float32Array | number[]
annotationID: number
id: number
label?: string
labelPosition?: Float32Array | number[]
transactionCode?: string
transactionID?: number
transform?: Float32Array | number[]
trustedSource?: boolean
type?: EventType
visible?: boolean