bitmap

fun bitmap(bitmap: Bitmap, xTileMode: Shader.TileMode = Shader.TileMode.REPEAT, yTileMode: Shader.TileMode = xTileMode): ShaderProvider

Creates a BitmapShader-producing ShaderProvider.