We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am trying to prefill the whole canvas with white color by doing this, but it isn't working
var ctx = $('#canvas')[0].getContext('2d'); ctx.fillStyle = '#fff'; ctx.fillRect(0, 0, 500, 500); var sketchpad = new NewSketchpad({ element: '#canvas', width: 500, height: 500 });
Is there any working alternative available for this? Please help!
The text was updated successfully, but these errors were encountered:
Not sure if this will work for your specific use case, but you can just set the background style of the canvas to a specific color.
Sorry, something went wrong.
I have done it by adding bg color to the sketchpad div .! I have also added a pellette for changing the canvas bg color
No branches or pull requests
Hi, I am trying to prefill the whole canvas with white color by doing this, but it isn't working
Is there any working alternative available for this? Please help!
The text was updated successfully, but these errors were encountered: