AnnotationProperties

Interface AnnotationProperties

The AnnotationProperties type defines the properties of an annotation.

interface AnnotationProperties {
    anchorPosition?:
        | Float32Array<ArrayBufferLike>
        | [number, number, number];
    connectedNodeId?: number;
    content?: string;
    contentOffset?: Float32Array<ArrayBufferLike> | [number, number, number];
    enabled?: boolean;
    name?: string;
    trustedSource?: boolean;
}

Properties

anchorPosition?: Float32Array<ArrayBufferLike> | [number, number, number]

The anchor position of the annotation.

[0,0,0]
connectedNodeId?: number

The connected Node ID of the annotation.

null
content?: string

The content of the annotation.

undefined
contentOffset?: Float32Array<ArrayBufferLike> | [number, number, number]

The content offset of the annotation.

[1,0,1]
enabled?: boolean

The enabled state of the annotation.

false
name?: string

The name of the annotation.

undefined
trustedSource?: boolean

Specifies if the annotation comes from a trusted source.

true
 @readonly

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: