DrawerJs icon indicating copy to clipboard operation
DrawerJs copied to clipboard

How we can provide GridLine in Drawer JS library!

Open sachinpawar13 opened this issue 4 years ago • 2 comments

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 ?

sachinpawar13 avatar Oct 30 '20 12:10 sachinpawar13

Hi,did you find a solution yet? I'm also want to provide the GridLine

xwwxyd avatar Jan 18 '21 03:01 xwwxyd

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 } }

LDSmj avatar Feb 28 '24 06:02 LDSmj