bitmap

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

Creates a DynamicShader out of the given bitmap.