Skip to content

highlighter/transparent colors #167

Answered by hm21
amirharati asked this question in Q&A
Jul 21, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi, I just take a look at your solution and in the image editor version <= 4.2.9 it is the best thing you can do to solve it. However, I released version 4.3.0 with a new option which makes it easier for users to set the opacity and also solve the opacity in the freestyle drawing which look not really smooth.

Below is an example of how to do it, but feel free to use customWidgets as well. If you use your own solution, I recommend using the new setOpacity method in the paint editor and not to set the opacity directly on the color.

FYI: I noticed that you set the customPixelRatio to 1. I'm not sure if you really want this, but I recommend not setting a value there because the image editor w…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hm21
Comment options

Answer selected by amirharati
@amirharati
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants