This class is used to draw polygon annotations.

Hierarchy

Constructors

Properties

active: boolean
annotationType: POLYGON | VOLUME
bindingsRef: undefined | RefCounted
changed: Signal<(() => void)> = ...
childTool: PlaceLineTool
disposedStacks: any
inProgressAnnotation: undefined | {
    annotationLayer: AnnotationLayerState;
    disposer: (() => void);
    reference: AnnotationReference;
}
layer: __type<(new (...args: any[]) => UserLayer)> & UserLayer
refCount: number = 1
sourceMouseState: MouseSelectionState
sourcePosition: undefined | Float32Array
wasDisposed: undefined | boolean
zCoordinate: undefined | number

Accessors

  • get description(): "annotate polygon (draw mode)" | "annotate polygon (edit mode)"
  • Get polygon description to be shown in top corner of annotation tab.

    Returns "annotate polygon (draw mode)" | "annotate polygon (edit mode)"

Methods

  • Completes the last line of the polygon.

    Returns

    true if last line was succesfully completed otherwise false.

    Returns boolean

Generated using TypeDoc