// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-graphics-BitmapShader"))]
__jni_bindgen! {
/// public class [BitmapShader](https://developer.android.com/reference/android/graphics/BitmapShader.html)
///
/// Required feature: "android-graphics-BitmapShader"
public class BitmapShader ("android/graphics/BitmapShader") extends crate::android::graphics::Shader {
/// [BitmapShader](https://developer.android.com/reference/android/graphics/BitmapShader.html#BitmapShader(android.graphics.Bitmap,%20android.graphics.Shader.TileMode,%20android.graphics.Shader.TileMode))
///
/// Required features: "android-graphics-Bitmap", "android-graphics-Shader_TileMode"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap", feature = "android-graphics-Shader_TileMode")))]
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Bitmap>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Shader_TileMode>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Shader_TileMode>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::BitmapShader>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/BitmapShader", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/BitmapShader\0", "<init>\0", "(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
}
}