The second Android 11 Developer Preview is now available, test it out and share your feedback.

LinearGradient

data class LinearGradient : ShaderBrush
kotlin.Any
   ↳ androidx.ui.graphics.ShaderBrush
   ↳ androidx.ui.graphics.LinearGradient

Brush implementation used to apply a linear gradient on a given Paint

Summary

Inherited functions

Inherited properties