Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DrawingArgs

A configuration object passed as a parameter to DrawingToolImplementation methods.

Hierarchy

  • DrawingArgs

Properties

Properties

anchors: readonly Point[]

Array of anchors associated with this drawing tool.

plots: object

User defined output plots. Reflects the plots field of DrawingTool.

Type declaration

props: object

Reflects the params field of DrawingTool, these are the user defined inputs for this custom tool.

Type declaration

  • [parameterName: string]: number | boolean
state: any

An arbitrary state held by an instance of DrawingToolImplementation, example usage would be keeping references to heavy calculations' results so we don't need to run them on every render.

Generated using TypeDoc