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

如果设置底图为透明,是否橡皮擦效果是无法使用 #74

Open
panliang-rm opened this issue Oct 16, 2024 · 0 comments
Open

Comments

@panliang-rm
Copy link

panliang-rm commented Oct 16, 2024

Bitmap transparentBitmap = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888);
  if (mBitmap.getConfig() != Bitmap.Config.RGB_565) {
            // 如果位图包含透明度,则可能会导致橡皮擦无法对透明部分进行擦除
            LogUtil.w(TAG, "the bitmap may contain alpha, which will cause eraser don't work well.");
        }
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
@panliang-rm and others