Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple haze effects #30

Closed
Kyant0 opened this issue Nov 15, 2023 · 2 comments
Closed

multiple haze effects #30

Kyant0 opened this issue Nov 15, 2023 · 2 comments

Comments

@Kyant0
Copy link

Kyant0 commented Nov 15, 2023

I want to blur a screen with multiple Rects with different haze background colors.
I found it impossible to put multiple haze modifiers in one composable, but it works with wrapper layouts with only one haze modifier of each.

Is there convenient API that provides multiple complex haze effects in one modifier? For example:

haze(
  Haze(rect1, bg1, tint1),
  Haze(rect2, bg2, tint2),
)

Additionally, both Rect and RoundRect can be combined.

@chrisbanes
Copy link
Owner

Mostly released in 0.4.0

@chrisbanes
Copy link
Owner

Final bit of this was added in #81 in 0.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants