DynamicShaders
object DynamicShaders
An object that holds simple, anonymous implementations of DynamicShader.
Functions
Link copied to clipboard
fun fromBitmap(bitmap: Bitmap, tileXMode: Shader.TileMode = Shader.TileMode.REPEAT, tileYMode: Shader.TileMode = tileXMode): DynamicShader
Creates a DynamicShader out of the given bitmap.