Text background - highlighted text? #129
-
|
Hi there! Does anyone know if the following is possible at all? Would like to create text like this, rendered on an angle and with a background / highlight effect? Would love to hear your thoughts and ideas to get this implemented. Thanks very much! |
Beta Was this translation helpful? Give feedback.
Answered by
antonfirsov
Feb 25, 2021
Replies: 1 comment 7 replies
-
|
I don't think there is a simple out of the box way to achieve this. I would do the following:
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
JimBobSquarePants
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment








I don't think there is a simple out of the box way to achieve this.
I would do the following:
bgImage)fgImagewith a transparent background to draw the foreground on (text + highlighting)fgImage. For each line:TextMeasurerto measure the boundary rectangle of each individual linefgImage.Mutate(c => c.Skew(...))fgImageoverbgImage(fgImage's background is transparent)