react-native-signature-canvas icon indicating copy to clipboard operation
react-native-signature-canvas copied to clipboard

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

Open manuelescobedo opened this issue 1 year ago • 1 comments

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.

manuelescobedo avatar Mar 06 '24 21:03 manuelescobedo

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.

YanYuanFE avatar Mar 28 '24 14:03 YanYuanFE