Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

AnnotationCreatedEventΒΆ

Class AnnotationCreatedEvent

Event that is fired when an annotation has been created.

Hierarchy (View Summary)

Properties

annotationID: number

The ID of the annotation.

id: number

The unique ID of the event.

An object with the properties to be used when creating the annotation.

transactionCode?: string

The transaction code associated with the event.

transactionID?: number

The transaction ID associated with the event.

type?: EventType

The type of the event.

Accessors

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

    anchorPosition is deprecated, please use properties.anchorPosition instead.

  • get label(): string
  • Returns string

    label is deprecated, please use properties.content instead.

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

    labelPosition is deprecated, please use properties.contentOffset instead.

  • get nodeID(): number
  • Returns number

    nodeID is deprecated, please use properties.connectedNodeId instead.

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

    transform is deprecated.

  • get trustedSource(): boolean
  • Returns boolean

    trustedSource is deprecated, please use properties.trustedSource instead.

  • get visible(): boolean
  • Returns boolean

    visible is deprecated, please use properties.enabled instead.