ViewerDrawingAPI#
Interface ViewerDrawingAPI
Hierarchy
- ViewerDrawingAPI
Index
Methods
cancel Drawing Mode
enter Drawing Mode
leave Drawing Mode
- leave
Drawing Mode(options?): Promise<ViewerDrawingResult> -
Leaves the 2D Drawing Mode and returns the processed 2D drawing data which can be used to create a Drawing with the help of the DrawingAPI.
Parameters
-
Optional
options: ViewerDrawingProcessOptionsOptions to configure the result of the processing.
Returns Promise<ViewerDrawingResult>
The processed 2D drawing data.
-
The ViewerDrawingAPI provides basic functionalities to control the 2D Drawing Mode and the processed Output.