Sergey Y.
02/01/2023, 12:57 AMdrawWithContent
and clipRects
, but it didn't give the desired result.
Also tried using RenderNode
directly as described in Chet's post.
Haven't found a way to combine it with the Compose UI drawing system yet.
🧵drawContent
modifiers. (I don't know if it is possible)
E.g. pseudo code:
Modifier.drawWithContent {
drawContent() // draws original content
clipPath(path) { // draws the part of the content covered by the mask and applies the given effect to it
renderEffect = RenderEffect.createBlurEffect(...)
drawContent()
}
}