Ƭ UseSvgDrawing: Object
Name | Type |
---|---|
ref |
RefObject <SvgDrawing | null > |
changeClose |
(penwidth : undefined | boolean ) => void |
changeCurve |
(penwidth : undefined | boolean ) => void |
changeDelay |
(penColor : undefined | number ) => void |
changeFill |
(penColor : undefined | string ) => void |
changePenColor |
(penColor : undefined | string ) => void |
changePenWidth |
(penwidth : undefined | number ) => void |
clear |
() => void |
download |
(opt : undefined | DownloadOption ) => void |
getSvgXML |
() => null | string |
undo |
() => void |
▸ useSvgDrawing(option?
): [MutableRefObject
<null
| HTMLDivElement
>, UseSvgDrawing
]
Name | Type |
---|---|
option? |
Partial <DrawingOption > |
[MutableRefObject
<null
| HTMLDivElement
>, UseSvgDrawing
]