How can I achieve this particular text blend using
Canvas
? Given the dark blue rect and the black text, how should I blend them? I tried every single
BlendMode
, but none of them gave the desired result. I need to whiten the part of the text that overlaps the rect (or, alternatively, clear the part or the rect the text would overlap)
✅ 1
ste
07/20/2022, 7:44 AM
Oh I think I just got it.
Copy code
clipPath(textPath, ClipOp.Difference) {
drawDarkBlueRect()
}
// ^ this draws the blue rect with white (bg) "Comp"
clipRect(darkBlueRect, ClipOp.Difference) {
drawTextPath()
}
// ^ this one draws the black "pose"