Skip to main content

Type Alias: Handles

Handles: object

Index Signature

[key: string]: unknown

Type declaration

activeHandleIndex?

optional activeHandleIndex: number | null

index of the active handle being manipulated

points?

optional points: Types.Point3[]

world location of the handles in the space

textBox?

optional textBox: object

annotation text box information

textBox.hasMoved?

optional hasMoved: boolean

whether the text box has moved

textBox.worldBoundingBox?

optional worldBoundingBox: object

text box bounding box information

textBox.worldBoundingBox.bottomLeft

bottomLeft: Types.Point3

Bottom left location of the text box in the world space

textBox.worldBoundingBox.bottomRight

bottomRight: Types.Point3

Bottom right location of the text box in the world space

textBox.worldBoundingBox.topLeft

topLeft: Types.Point3

Top left location of the text box in the world space

textBox.worldBoundingBox.topRight

topRight: Types.Point3

Top right location of the text box in the world space

textBox.worldPosition?

optional worldPosition: Types.Point3

the world location of the text box

Defined in

tools/src/types/AnnotationTypes.ts:121