AnnotationCreatedEvent#

Class AnnotationCreatedEvent

ANNOTATION_CREATED ANNOTATION_CREATED

Hierarchy

Constructors

  • The AnnotationCreatedEvent occurs if an annotation was created.

    Parameters

    • annotationID: number

      The ID of the annotation.

    • label: string

      The text of the annotation.

    • visible: boolean

      Indicates if the annotation should be visible or hidden.

    • anchorPosition: Float32Array | number[]

      Anchor position in world space coordinates.

    • labelPosition: Float32Array | number[]

      Label position in world space coordinates.

    • explicitOffset: boolean

      Label offset was explicitly defined.

    • Optional transform: Float32Array | number[]

      The local transform matrix of the annotation.

    • Optional trustedSource: boolean

      Specifies if the annotation content comes from a trusted source.

    • Optional nodeID: number

      Specifies the ID of the Node where the annotation is attached to.

    Returns AnnotationCreatedEvent

Properties

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

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: