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 |
Returns - Markup
Defined in
- markup/src/Markup.ts Line 433
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.