Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How we can provide GridLine in Drawer JS library! #57

Open
sachinpawar13 opened this issue Oct 30, 2020 · 2 comments
Open

How we can provide GridLine in Drawer JS library! #57

sachinpawar13 opened this issue Oct 30, 2020 · 2 comments

Comments

@sachinpawar13
Copy link

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 ?

@xwwxyd
Copy link

xwwxyd commented Jan 18, 2021

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

@LDSmj
Copy link

LDSmj commented Feb 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants