Created
May 23, 2023 12:28
-
-
Save V-Abhilash-1999/0d041a0df6c8391fd9ba432c2454151d to your computer and use it in GitHub Desktop.
ComposeShader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
canvas.drawRoundRect( | |
satValPanel, | |
cornerRadius, | |
cornerRadius, | |
Paint().apply { | |
shader = ComposeShader( | |
valShader, | |
satShader, | |
PorterDuff.Mode.MULTIPLY | |
) | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment