Package-level declarations
Functions
Link copied to clipboard
fun DynamicShaders.fromComponent(component: Component, componentSizeDp: Float, 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
fun DynamicShaders.horizontalGradient(colors: IntArray, positions: FloatArray? = null): DynamicShader
Creates a DynamicShader in the form of a horizontal gradient.
Link copied to clipboard
Creates a DynamicShader in the form of a vertical gradient.