fromBitmap
fun fromBitmap(bitmap: Bitmap, tileXMode: Shader.TileMode = Shader.TileMode.REPEAT, tileYMode: Shader.TileMode = tileXMode): DynamicShader
Creates a DynamicShader out of the given bitmap.
Creates a DynamicShader out of the given bitmap.