Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DrawingManager

Hierarchy

  • DrawingManager

Index

Constructors

constructor

Properties

data

data: Data

map

map: any

shapes

shapes: Shape[]

Optional tool

tool: Tool

Methods

addShape

  • addShape(shape: Shape): void
  • Parameters

    Returns void

changeTool

  • Parameters

    Returns Shape | undefined

createTool

  • createTool(toolId: ToolId | null): undefined | Tool
  • Parameters

    Returns undefined | Tool

removeShape

  • removeShape(shape: Shape): void
  • Parameters

    Returns void

setMap

  • setMap(map: Map | null): void
  • Parameters

    • map: Map | null

    Returns void

Generated using TypeDoc