constructor Method

Create a new Markup for the supplied ScreenViewport. Adds a new "overlay-markup" div into the "vpDiv" of the viewport.

Markup(vp: ScreenViewport, markupData?: MarkupSvgData): Markup

note you must call destroy on this object at end of markup to remove the markup div.

Parameter Type Description
vp ScreenViewport  
markupData MarkupSvgData  

Defined in

Last Updated: 08 January, 2020