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

如果位图包含透明度,则可能会导致橡皮擦无法对透明部分进行擦除 #56

Closed
kerry202 opened this issue Sep 2, 2020 · 1 comment

Comments

@kerry202
Copy link

kerry202 commented Sep 2, 2020

这个问题有办法解决吗?我尝试了修改画笔颜色为#00000000 完全透明。结果行不通

@1993hzw
Copy link
Owner

1993hzw commented Feb 23, 2021

目前橡皮擦的原理是把原图作为底图进行绘制覆盖,因此如果原图包含透明度,那么橡皮擦也会包含透明度。

@1993hzw 1993hzw closed this as completed Feb 23, 2021
@chgmxx chgmxx mentioned this issue Sep 29, 2021
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

2 participants