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(): Float32Array | number[]
  • Returns Float32Array | number[]

    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(): Float32Array | number[]
  • Returns Float32Array | number[]

    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(): Float32Array | number[]
  • Returns Float32Array | number[]

    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.


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: