Generates an image from a DOM node using HTML5 canvas
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
hupling opened this issue a year ago · comments
make it to shift so that you can get a part of a dom.
https://github.com/1904labs/dom-to-image-more/blob/51bece841ba8d75735394431af265a9a28919828/src/dom-to-image-more.js#L293C1-L293C48
ctx.drawImage(image, xPosition, yPosition);