Is there a way where changing the opacity or blend mode on a textbox or text element does not effect the stroke and shadow? #10384
DavidGjurchinoski
started this conversation in
General
Replies: 1 comment
-
For blending mode, no there isn't such thing. You have also to consider that an upcoming change is that any shape that requires a blending that is not 'source-over' ( the standard one ) will be first drawn on its own layer and then the layer blended. Shadow is not drawn on its own, is a side effect of drawing fill and stroke, and i have no idea what happens to shadow with blending modes, but you can try. Both stroke and fill cast an independent shadow, so there is some code in fabricJS to make so that you cast only one. For opacity you can just assign an alpha value to the color of stroke, fill or shadow, that is doable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to be able to change the opacity or blend mode independently for the text, stroke and shadow
Beta Was this translation helpful? Give feedback.
All reactions