MarkupItemManager

class Markup.MarkupItemManager()

Constructors


Constructors

MarkupItemManager.constructor(callbackManager, markupRenderer)
Arguments
  • callbackManager (CallbackManager()) – None

  • markupRenderer (MarkupRenderer()) – None

Return type

MarkupItemManager

Methods

getActiveView

MarkupItemManager.getActiveView(view)
Arguments
Return type

null | MarkupView

getPickTolerance

MarkupItemManager.getPickTolerance()
Return type

number

getSelected

MarkupItemManager.getSelected()
Return type

null | MarkupItem

getViews

MarkupItemManager.getViews(markupView)
Arguments
Return type

[View]

markupViewDeleted

MarkupItemManager.markupViewDeleted(markupView)
Arguments
Return type

void

pick

MarkupItemManager.pick(point, view)
Arguments
Return type

null | MarkupItem

registerMarkupItem

MarkupItemManager.registerMarkupItem(markupItem, view)
Arguments
Return type

string

renderActiveViewMarkup

MarkupItemManager.renderActiveViewMarkup(view)
Arguments
Return type

void

renderMarkup

MarkupItemManager.renderMarkup(view)
Arguments
Return type

void

select

MarkupItemManager.select(markupItem)
Arguments
  • markupItem (null | MarkupItem()) – None

Return type

void

setActiveView

MarkupItemManager.setActiveView(view, markupView)
Arguments
  • view (View()) – None

  • markupView (null | MarkupView()) – None

Return type

Promise <void>

setPickTolerance

MarkupItemManager.setPickTolerance(tolerance)
Arguments
  • tolerance (number()) – None

Return type

void

shutdown

MarkupItemManager.shutdown()
Return type

void

unregisterMarkupItem

MarkupItemManager.unregisterMarkupItem(uniqueId, view)
Arguments
  • uniqueId (string()) – None

  • view (View()) – None

Return type

void

update

MarkupItemManager.update()
Return type

void

updateLater

MarkupItemManager.updateLater(view)
Arguments
Return type

void

viewDeleted

MarkupItemManager.viewDeleted(view)
Arguments
Return type

void