API REFERENCE

getDrawingLayer

the drawing overlay as a positioned SVG layer (null without drawings): what getSVG / exportSVG / exportPNG compose into the image.

정의

typescript
getDrawingLayer(): Promise<DrawingLayerSnapshot | null>

반환 타입: Promise<DrawingLayerSnapshot | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.