Skip to main content

Type Alias: AnnotationData

AnnotationData: object

Index Signature​

[key: string]: unknown

Type declaration​

cachedStats?​

optional cachedStats: Record<string, CachedStats> | VolumeStats

Cached Annotation statistics which is specific to the tool

contour?​

optional contour: Contour

contour data

handles?​

optional handles: Handles

Annotation handles that are grabbable for manipulation

isOpenUShapeContour?​

optional isOpenUShapeContour: boolean | "farthestT" | "lineSegment" | "orthogonalT"

The object is closed by connecting start/end points of the contour. Can be true (boolean), meaning 'farthestT' or a specific style: 'farthestT', 'lineSegment', or 'orthogonalT' to specify the rendering style

label?​

optional label: string

Label of an annotation

Defined in​

tools/src/types/AnnotationTypes.ts:71