Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DrawingToolsApi

Implements

Index

Constructors

Accessors

  • get closed(): boolean
  • get restrictions(): {}
  • get showDistanceLabels(): boolean
  • set showDistanceLabels(value: boolean): void
  • get showPointLabels(): boolean
  • set showPointLabels(value: boolean): void

Methods

  • addPoint(index: number, position?: vec3): void
  • Add a point to the drawing tool.

    Parameters

    • index: number
    • Optional position: vec3

    Returns void

  • canRedo(): boolean
  • canUndo(): boolean
  • cancel(): void
  • close(): void
  • redo(): void
  • removePoint(index: number): void
  • removeRestriction(token: string): void
  • undo(): void