Question: Adding transparent rgba value to penColor
Author: SimonPaidlaCreated Aug 1, 2024Updated Aug 7, 2024
Labelsneeds: investigation
Hello everyone,
I have the following problem: I would like to use a transparent pen color to highlight texts (e.g., rgba(255,0,0,0.3)). As shown in the image, the bottom two lines (with rgba color value) do not deliver the desired result. Unfortunately, I couldn't gather from the documentation whether and how I can solve the problem myself, which is why I'm asking here.
- Is there an option to prevent these dots from appearing when using transparent color (example line 2/3 from the image)?
- Is there an option to prevent the lines from becoming "thicker" when redrawing with transparent color? (example line 3 from the image)
I tried experimenting with the options:
- dotSize
- throttle
- minDistance.
But none of the changes produce a good result
Thank you in advance for your help.
Source: szimek/signature_pad