https://stackblitz.com/edit/ka-draw-signature-fy3eep?file=app%2Fapp.component.ts
I have been using the above given code to create a signature pad for the web application I am working on. Although the code works fine when used alone, when used in my application, the line starts a few pixels above the mouse pointer when it is used. Any help will be much appreciated.