LinearGradient
Kotlin
|Java
@Immutable class LinearGradient : ShaderBrush
kotlin.Any | |||
↳ | androidx.compose.ui.graphics.Brush | ||
↳ | androidx.compose.ui.graphics.ShaderBrush | ||
↳ | androidx.compose.ui.graphics.LinearGradient |
Brush implementation used to apply a linear gradient on a given Paint
Summary
Public methods | |
---|---|
Shader |
createShader(size: Size) |
Boolean | |
Int |
hashCode() |
String |
toString() |
Inherited functions | |
---|---|
Public methods
hashCode
fun hashCode(): Int
toString
fun toString(): String