AnnotationCreatedEvent#

Class AnnotationCreatedEvent

ANNOTATION_CREATED ANNOTATION_CREATED

Hierarchy

Constructors

Properties

annotationID: number

The ID of the Annotation.

id: number

An object with the changed properties.

transactionCode?: string
transactionID?: number
type?: EventType

Accessors

  • get anchorPosition(): number[] | Float32Array
  • Returns number[] | Float32Array

    Deprecated

    anchorPosition is deprecated, please use properties.anchorPosition instead.

  • get label(): string
  • Returns string

    Deprecated

    label is deprecated, please use properties.content instead.

  • get labelPosition(): number[] | Float32Array
  • Returns number[] | Float32Array

    Deprecated

    labelPosition is deprecated, please use properties.contentOffset instead.

  • get nodeID(): number
  • Returns number

    Deprecated

    nodeID is deprecated, please use properties.connectedNodeId instead.

  • get transform(): number[] | Float32Array
  • Returns number[] | Float32Array

    Deprecated

    transform is deprecated.

  • get trustedSource(): boolean
  • Returns boolean

    Deprecated

    trustedSource is deprecated, please use properties.trustedSource instead.

  • get visible(): boolean
  • Returns boolean

    Deprecated

    visible is deprecated, please use properties.enabled instead.