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

When penColor is using transparency, each stroke looks like a lot of dots overlapping each other #354

Open
manuelescobedo opened this issue Mar 6, 2024 · 1 comment

Comments

@manuelescobedo
Copy link

manuelescobedo commented Mar 6, 2024

Recently I have downloaded this library, and due business requirement, I have to use penColor with alpha opacity.

  • dotSize: 1
  • penSize: 0, x (value)
  • penColor: (any, with any opacity)

And for each stroken, it looks like a lot of dots overlapping each other.

Is this expected?

image
(Image uses rgba(255,255,255,0.5)

IT could be great, that strokes looks right, even if the color is transparent, or please give a workaround for our issue.

Thanks in advance.

@YanYuanFE
Copy link
Owner

https://github.com/szimek/signature_pad
Hello, this library uses signature_pad to draw signatures, I tried using penColor with transparency on signature_pad and the result is consistent with your description, so I think this is what is expected.

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