Add LocalView-like value to enable composable2bitmap operation
You'd better provide such a request to Google androidx
Oops...It's my fault of not describing this feature-request. In this projectvisual-effects, the author made the background blur effect using LocalView.current, but compose-jb haven't any similar value that can replace it....
You'd better provide such a request to Google androidx
So could you reopen this issue? Thanks
LocalView is Android specific, right
In compose-jb, there's no such concept. The entire Window is one big Skia-backed canvas.
In compose-jb, there's no such concept. The entire Window is one big Skia-backed canvas.
so...is there any way to nest another skia-based canvas to place composable and enable such operation?
You can already apply shaders on individual nodes in your hierarchy
See https://www.pushing-pixels.org/2022/04/09/shader-based-render-effects-in-compose-desktop-with-skia.html
See https://www.pushing-pixels.org/2022/04/09/shader-based-render-effects-in-compose-desktop-with-skia.html
Does not work with bitmaps images in the background Also need to manually set the size