Package-level declarations
Types
Link copied to clipboard
Creates a DynamicShader out of a Brush.
Functions
Link copied to clipboard
Creates a ComposeShader out of two DynamicShaders by using a BlendMode.
fun composeShader(first: DynamicShader, second: DynamicShader, mode: PorterDuff.Mode): DynamicShader
Creates a ComposeShader out of two DynamicShaders by using a PorterDuff.Mode.
Link copied to clipboard
Creates a BrushShader using the given Brush.
Link copied to clipboard
fun DynamicShaders.fromComponent(component: Component, componentSize: Dp, checkeredArrangement: Boolean = true, tileXMode: Shader.TileMode = Shader.TileMode.REPEAT, tileYMode: Shader.TileMode = tileXMode): ComponentShader
Creates a ComponentShader out of the provided component.
Link copied to clipboard
Creates a DynamicShader in the form of a horizontal gradient.
Link copied to clipboard
Converts this Brush to a DynamicShader using BrushShader.
Link copied to clipboard
Creates a DynamicShader in the form of a vertical gradient.