Constructor
Api
Defines size of texture used to render drawings. Recommended value is power of two. Higher resolution gives better visuals but costs more memory (a pixel takes 4 bytes).
Decides if the DWG drawings are grayscale by default. Onnly applies to dwg drawings.
Decides if the DWG drawings are created with inverted background as default. Only applies to dwg drawings.
Static ReadonlydefaultStatic ReadonlydefaultStatic ReadonlypdfBounding information for the currently loaded DWG's
Remove all loaded drawings
Iterate all loaded drawings.
Action which is called on each drawing.
Load one or more drawings. Only PDF and 2D DWG files are supported. Note that 3D DWG's are not supported.
Drawings to load
Optionalcamera: ViewerCameraPromise
Use this API to load and visualize drawings.