Maik
06/21/2021, 11:37 AMRadialGradient
allows only one radius in the definition.Nader Jawad
06/21/2021, 6:12 PMShaderBrush
that creates an instance of this gradient for devices running Android 12+.
https://developer.android.com/reference/android/graphics/RadialGradient#RadialGradient(float,%20float,%20flo[…],%20android.graphics.Shader.TileMode)
Depending on the implementation you might be able to do so with multiple RadialGradient implementations with a ComposeShader in Android.Maik
06/22/2021, 11:45 AMMaik
06/22/2021, 11:47 AMNader Jawad
06/22/2021, 6:29 PMsetLocalMatrix
and wrap this with a ShaderBrush
to get the desired effect