fromComponent

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.