ShaderBrush
Kotlin
|Java
@Immutable abstract class ShaderBrush : Brush
kotlin.Any | ||
↳ | androidx.compose.ui.graphics.Brush | |
↳ | androidx.compose.ui.graphics.ShaderBrush |
Brush implementation that wraps and applies a the provided shader to a Paint The shader can be lazily created based on a given size, or provided directly as a parameter
Summary
Public constructors | |
---|---|
<init>() Brush implementation that wraps and applies a the provided shader to a Paint The shader can be lazily created based on a given size, or provided directly as a parameter |
Public methods | |
---|---|
Unit | |
abstract Shader |
createShader(size: Size) |
Public constructors
<init>
ShaderBrush()
Brush implementation that wraps and applies a the provided shader to a Paint The shader can be lazily created based on a given size, or provided directly as a parameter