ViewerDrawingAPI#
Interface ViewerDrawingAPI
Hierarchy
- ViewerDrawingAPI
Index
Methods
cancelDrawingMode
enterDrawingMode
leaveDrawingMode
- leave
Drawing (options?): Promise<ViewerDrawingResult>Mode -
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.