DrawerJs
DrawerJs copied to clipboard
How we can provide GridLine in Drawer JS library!
How we can provide GridLine over in Drawer JS library!
I am trying to provide the GridLine (vertical & horizontal lines) feature over canvas while initializing the Drawer JS, but not found any solution.
Can someone please suggest is there have any functionality to provide the GridLines using Drawer JS ?
Hi,did you find a solution yet? I'm also want to provide the GridLine
just download a gridline image then just add it on the fixedbackgroundUrl like this
pluginsConfig: { BackgroundImage: { scaleDownLargeImage: true, maxImageSizeKb: 1024, //1MB fixedBackgroundUrl: '../../assets/media/icons/assets/iso.png', imagePosition: 'stretch', // one of 'center', 'stretch', 'top-left', 'top-right', 'bottom-left', 'bottom-right' acceptedMIMETypes: ['image/jpeg', 'image/png', 'image/gif'] , dynamicRepositionImage: true, dynamicRepositionImageThrottle: 100 } }