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

Adding eraser method to API #21

Open
antonioquepasa opened this issue Apr 25, 2016 · 4 comments
Open

Adding eraser method to API #21

antonioquepasa opened this issue Apr 25, 2016 · 4 comments

Comments

@antonioquepasa
Copy link

Hello guys,

Thanks for creating and sharing such a great library. Easy as pie and incredibly useful.

Any chance or plan to add an eraser method to the API?

Cheers and keep up with the great work,

Antoine

@nihey
Copy link
Member

nihey commented Apr 26, 2016

Hello Antoine,

Sure, I was off for some time to fix up some personal issues, but I'll be working on some issues here after this weekend. Feedback is greatly appreciated.

Nihey

@jeanlucaslima
Copy link
Member

Antoine, thanks for the feedback. What do you mean by erase? You do have
undo/redo and you can pick the color you're painting, thus "erasing" (in
some editors eraser is just a white brush).
On Apr 25, 2016 20:49, "Nihey Takizawa" [email protected] wrote:

Hello Antoine,

Sure, I was off for some time to fix up some personal issues, but I'll be
working on some issues here after this weekend. Feedback is greatly
appreciated.

Nihey


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#21 (comment)

@antonioquepasa
Copy link
Author

antonioquepasa commented Apr 26, 2016

Can I select a transparent color that would erase any colored stroke it would draw upon, like a real eraser would do? If so, that would totally do the trick.

I found an example: something along the lines of this SO answer ([http://stackoverflow.com/questions/25907163/html5-canvas-eraser-tool-without-overdraw-white-color])

@jeanlucaslima
Copy link
Member

@antonioquepasa yeah, there are work arounds but it really isn't implemented right now, probably for version 1.0 :-) just labeled as feature-request to mark it.

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

No branches or pull requests

3 participants