// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-graphics-Canvas"))]
__jni_bindgen! {
/// public class [Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)
///
/// Required feature: "android-graphics-Canvas"
public class Canvas ("android/graphics/Canvas") extends crate::java::lang::Object {
/// [Canvas](https://developer.android.com/reference/android/graphics/Canvas.html#Canvas())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::Canvas>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [Canvas](https://developer.android.com/reference/android/graphics/Canvas.html#Canvas(android.graphics.Bitmap))
///
/// Required features: "android-graphics-Bitmap"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap")))]
pub fn new_Bitmap<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Bitmap>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::Canvas>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/graphics/Bitmap;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "<init>\0", "(Landroid/graphics/Bitmap;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isHardwareAccelerated](https://developer.android.com/reference/android/graphics/Canvas.html#isHardwareAccelerated())
pub fn isHardwareAccelerated<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "isHardwareAccelerated", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "isHardwareAccelerated\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#setBitmap(android.graphics.Bitmap))
///
/// Required features: "android-graphics-Bitmap"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap")))]
pub fn setBitmap<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Bitmap>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "setBitmap", .descriptor == "(Landroid/graphics/Bitmap;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "setBitmap\0", "(Landroid/graphics/Bitmap;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isOpaque](https://developer.android.com/reference/android/graphics/Canvas.html#isOpaque())
pub fn isOpaque<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "isOpaque", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "isOpaque\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getWidth](https://developer.android.com/reference/android/graphics/Canvas.html#getWidth())
pub fn getWidth<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "getWidth", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getWidth\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHeight](https://developer.android.com/reference/android/graphics/Canvas.html#getHeight())
pub fn getHeight<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "getHeight", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getHeight\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDensity](https://developer.android.com/reference/android/graphics/Canvas.html#getDensity())
pub fn getDensity<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "getDensity", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getDensity\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDensity](https://developer.android.com/reference/android/graphics/Canvas.html#setDensity(int))
pub fn setDensity<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "setDensity", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "setDensity\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [save](https://developer.android.com/reference/android/graphics/Canvas.html#save())
pub fn save<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "save", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "save\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [save](https://developer.android.com/reference/android/graphics/Canvas.html#save(int))
pub fn save_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "save", .descriptor == "(I)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "save\0", "(I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [saveLayer](https://developer.android.com/reference/android/graphics/Canvas.html#saveLayer(android.graphics.RectF,%20android.graphics.Paint,%20int))
///
/// Required features: "android-graphics-Paint", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-RectF")))]
pub fn saveLayer_RectF_Paint_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "saveLayer", .descriptor == "(Landroid/graphics/RectF;Landroid/graphics/Paint;I)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "saveLayer\0", "(Landroid/graphics/RectF;Landroid/graphics/Paint;I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [saveLayer](https://developer.android.com/reference/android/graphics/Canvas.html#saveLayer(float,%20float,%20float,%20float,%20android.graphics.Paint,%20int))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn saveLayer_float_float_float_float_Paint_int<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>, arg5: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "saveLayer", .descriptor == "(FFFFLandroid/graphics/Paint;I)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into()), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "saveLayer\0", "(FFFFLandroid/graphics/Paint;I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [saveLayerAlpha](https://developer.android.com/reference/android/graphics/Canvas.html#saveLayerAlpha(android.graphics.RectF,%20int,%20int))
///
/// Required features: "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-RectF")))]
pub fn saveLayerAlpha_RectF_int_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "saveLayerAlpha", .descriptor == "(Landroid/graphics/RectF;II)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "saveLayerAlpha\0", "(Landroid/graphics/RectF;II)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [saveLayerAlpha](https://developer.android.com/reference/android/graphics/Canvas.html#saveLayerAlpha(float,%20float,%20float,%20float,%20int,%20int))
pub fn saveLayerAlpha_float_float_float_float_int_int<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32, arg4: i32, arg5: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "saveLayerAlpha", .descriptor == "(FFFFII)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "saveLayerAlpha\0", "(FFFFII)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [restore](https://developer.android.com/reference/android/graphics/Canvas.html#restore())
pub fn restore<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "restore", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "restore\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getSaveCount](https://developer.android.com/reference/android/graphics/Canvas.html#getSaveCount())
pub fn getSaveCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "getSaveCount", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getSaveCount\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [restoreToCount](https://developer.android.com/reference/android/graphics/Canvas.html#restoreToCount(int))
pub fn restoreToCount<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "restoreToCount", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "restoreToCount\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [translate](https://developer.android.com/reference/android/graphics/Canvas.html#translate(float,%20float))
pub fn translate<'env>(&'env self, arg0: f32, arg1: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "translate", .descriptor == "(FF)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "translate\0", "(FF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [scale](https://developer.android.com/reference/android/graphics/Canvas.html#scale(float,%20float))
pub fn scale_float_float<'env>(&'env self, arg0: f32, arg1: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "scale", .descriptor == "(FF)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "scale\0", "(FF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [scale](https://developer.android.com/reference/android/graphics/Canvas.html#scale(float,%20float,%20float,%20float))
pub fn scale_float_float_float_float<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | FINAL, .name == "scale", .descriptor == "(FFFF)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "scale\0", "(FFFF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [rotate](https://developer.android.com/reference/android/graphics/Canvas.html#rotate(float))
pub fn rotate_float<'env>(&'env self, arg0: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "rotate", .descriptor == "(F)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "rotate\0", "(F)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [rotate](https://developer.android.com/reference/android/graphics/Canvas.html#rotate(float,%20float,%20float))
pub fn rotate_float_float_float<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | FINAL, .name == "rotate", .descriptor == "(FFF)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "rotate\0", "(FFF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [skew](https://developer.android.com/reference/android/graphics/Canvas.html#skew(float,%20float))
pub fn skew<'env>(&'env self, arg0: f32, arg1: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "skew", .descriptor == "(FF)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "skew\0", "(FF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [concat](https://developer.android.com/reference/android/graphics/Canvas.html#concat(android.graphics.Matrix))
///
/// Required features: "android-graphics-Matrix"
#[cfg(any(feature = "all", all(feature = "android-graphics-Matrix")))]
pub fn concat<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Matrix>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "concat", .descriptor == "(Landroid/graphics/Matrix;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "concat\0", "(Landroid/graphics/Matrix;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setMatrix](https://developer.android.com/reference/android/graphics/Canvas.html#setMatrix(android.graphics.Matrix))
///
/// Required features: "android-graphics-Matrix"
#[cfg(any(feature = "all", all(feature = "android-graphics-Matrix")))]
pub fn setMatrix<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Matrix>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "setMatrix", .descriptor == "(Landroid/graphics/Matrix;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "setMatrix\0", "(Landroid/graphics/Matrix;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMatrix](https://developer.android.com/reference/android/graphics/Canvas.html#getMatrix(android.graphics.Matrix))
///
/// Required features: "android-graphics-Matrix"
#[cfg(any(feature = "all", all(feature = "android-graphics-Matrix")))]
pub fn getMatrix_Matrix<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Matrix>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "getMatrix", .descriptor == "(Landroid/graphics/Matrix;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getMatrix\0", "(Landroid/graphics/Matrix;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMatrix](https://developer.android.com/reference/android/graphics/Canvas.html#getMatrix())
///
/// Required features: "android-graphics-Matrix"
#[cfg(any(feature = "all", all(feature = "android-graphics-Matrix")))]
pub fn getMatrix<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Matrix>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | FINAL, .name == "getMatrix", .descriptor == "()Landroid/graphics/Matrix;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getMatrix\0", "()Landroid/graphics/Matrix;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(android.graphics.RectF,%20android.graphics.Region.Op))
///
/// Required features: "android-graphics-RectF", "android-graphics-Region_Op"
#[cfg(any(feature = "all", all(feature = "android-graphics-RectF", feature = "android-graphics-Region_Op")))]
pub fn clipRect_RectF_Op<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region_Op>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipRect", .descriptor == "(Landroid/graphics/RectF;Landroid/graphics/Region$Op;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(Landroid/graphics/RectF;Landroid/graphics/Region$Op;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(android.graphics.Rect,%20android.graphics.Region.Op))
///
/// Required features: "android-graphics-Rect", "android-graphics-Region_Op"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect", feature = "android-graphics-Region_Op")))]
pub fn clipRect_Rect_Op<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region_Op>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipRect", .descriptor == "(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(android.graphics.RectF))
///
/// Required features: "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-RectF")))]
pub fn clipRect_RectF<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "clipRect", .descriptor == "(Landroid/graphics/RectF;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(Landroid/graphics/RectF;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(android.graphics.Rect))
///
/// Required features: "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect")))]
pub fn clipRect_Rect<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "clipRect", .descriptor == "(Landroid/graphics/Rect;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(Landroid/graphics/Rect;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(float,%20float,%20float,%20float,%20android.graphics.Region.Op))
///
/// Required features: "android-graphics-Region_Op"
#[cfg(any(feature = "all", all(feature = "android-graphics-Region_Op")))]
pub fn clipRect_float_float_float_float_Op<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region_Op>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipRect", .descriptor == "(FFFFLandroid/graphics/Region$Op;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(FFFFLandroid/graphics/Region$Op;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(float,%20float,%20float,%20float))
pub fn clipRect_float_float_float_float<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "clipRect", .descriptor == "(FFFF)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(FFFF)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRect](https://developer.android.com/reference/android/graphics/Canvas.html#clipRect(int,%20int,%20int,%20int))
pub fn clipRect_int_int_int_int<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "clipRect", .descriptor == "(IIII)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRect\0", "(IIII)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipPath](https://developer.android.com/reference/android/graphics/Canvas.html#clipPath(android.graphics.Path,%20android.graphics.Region.Op))
///
/// Required features: "android-graphics-Path", "android-graphics-Region_Op"
#[cfg(any(feature = "all", all(feature = "android-graphics-Path", feature = "android-graphics-Region_Op")))]
pub fn clipPath_Path_Op<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region_Op>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipPath", .descriptor == "(Landroid/graphics/Path;Landroid/graphics/Region$Op;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipPath\0", "(Landroid/graphics/Path;Landroid/graphics/Region$Op;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipPath](https://developer.android.com/reference/android/graphics/Canvas.html#clipPath(android.graphics.Path))
///
/// Required features: "android-graphics-Path"
#[cfg(any(feature = "all", all(feature = "android-graphics-Path")))]
pub fn clipPath_Path<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipPath", .descriptor == "(Landroid/graphics/Path;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipPath\0", "(Landroid/graphics/Path;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRegion](https://developer.android.com/reference/android/graphics/Canvas.html#clipRegion(android.graphics.Region,%20android.graphics.Region.Op))
///
/// Required features: "android-graphics-Region", "android-graphics-Region_Op"
#[cfg(any(feature = "all", all(feature = "android-graphics-Region", feature = "android-graphics-Region_Op")))]
pub fn clipRegion_Region_Op<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region_Op>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipRegion", .descriptor == "(Landroid/graphics/Region;Landroid/graphics/Region$Op;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRegion\0", "(Landroid/graphics/Region;Landroid/graphics/Region$Op;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clipRegion](https://developer.android.com/reference/android/graphics/Canvas.html#clipRegion(android.graphics.Region))
///
/// Required features: "android-graphics-Region"
#[cfg(any(feature = "all", all(feature = "android-graphics-Region")))]
pub fn clipRegion_Region<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "clipRegion", .descriptor == "(Landroid/graphics/Region;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "clipRegion\0", "(Landroid/graphics/Region;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDrawFilter](https://developer.android.com/reference/android/graphics/Canvas.html#getDrawFilter())
///
/// Required features: "android-graphics-DrawFilter"
#[cfg(any(feature = "all", all(feature = "android-graphics-DrawFilter")))]
pub fn getDrawFilter<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::DrawFilter>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "getDrawFilter", .descriptor == "()Landroid/graphics/DrawFilter;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getDrawFilter\0", "()Landroid/graphics/DrawFilter;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDrawFilter](https://developer.android.com/reference/android/graphics/Canvas.html#setDrawFilter(android.graphics.DrawFilter))
///
/// Required features: "android-graphics-DrawFilter"
#[cfg(any(feature = "all", all(feature = "android-graphics-DrawFilter")))]
pub fn setDrawFilter<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::DrawFilter>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "setDrawFilter", .descriptor == "(Landroid/graphics/DrawFilter;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "setDrawFilter\0", "(Landroid/graphics/DrawFilter;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [quickReject](https://developer.android.com/reference/android/graphics/Canvas.html#quickReject(android.graphics.RectF,%20android.graphics.Canvas.EdgeType))
///
/// Required features: "android-graphics-Canvas_EdgeType", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Canvas_EdgeType", feature = "android-graphics-RectF")))]
pub fn quickReject_RectF_EdgeType<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Canvas_EdgeType>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "quickReject", .descriptor == "(Landroid/graphics/RectF;Landroid/graphics/Canvas$EdgeType;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "quickReject\0", "(Landroid/graphics/RectF;Landroid/graphics/Canvas$EdgeType;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [quickReject](https://developer.android.com/reference/android/graphics/Canvas.html#quickReject(android.graphics.Path,%20android.graphics.Canvas.EdgeType))
///
/// Required features: "android-graphics-Canvas_EdgeType", "android-graphics-Path"
#[cfg(any(feature = "all", all(feature = "android-graphics-Canvas_EdgeType", feature = "android-graphics-Path")))]
pub fn quickReject_Path_EdgeType<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Canvas_EdgeType>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "quickReject", .descriptor == "(Landroid/graphics/Path;Landroid/graphics/Canvas$EdgeType;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "quickReject\0", "(Landroid/graphics/Path;Landroid/graphics/Canvas$EdgeType;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [quickReject](https://developer.android.com/reference/android/graphics/Canvas.html#quickReject(float,%20float,%20float,%20float,%20android.graphics.Canvas.EdgeType))
///
/// Required features: "android-graphics-Canvas_EdgeType"
#[cfg(any(feature = "all", all(feature = "android-graphics-Canvas_EdgeType")))]
pub fn quickReject_float_float_float_float_EdgeType<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Canvas_EdgeType>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "quickReject", .descriptor == "(FFFFLandroid/graphics/Canvas$EdgeType;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "quickReject\0", "(FFFFLandroid/graphics/Canvas$EdgeType;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getClipBounds](https://developer.android.com/reference/android/graphics/Canvas.html#getClipBounds(android.graphics.Rect))
///
/// Required features: "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect")))]
pub fn getClipBounds_Rect<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "getClipBounds", .descriptor == "(Landroid/graphics/Rect;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getClipBounds\0", "(Landroid/graphics/Rect;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getClipBounds](https://developer.android.com/reference/android/graphics/Canvas.html#getClipBounds())
///
/// Required features: "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect")))]
pub fn getClipBounds<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Rect>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | FINAL, .name == "getClipBounds", .descriptor == "()Landroid/graphics/Rect;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "getClipBounds\0", "()Landroid/graphics/Rect;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawRGB](https://developer.android.com/reference/android/graphics/Canvas.html#drawRGB(int,%20int,%20int))
pub fn drawRGB<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawRGB", .descriptor == "(III)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawRGB\0", "(III)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawARGB](https://developer.android.com/reference/android/graphics/Canvas.html#drawARGB(int,%20int,%20int,%20int))
pub fn drawARGB<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawARGB", .descriptor == "(IIII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawARGB\0", "(IIII)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawColor](https://developer.android.com/reference/android/graphics/Canvas.html#drawColor(int))
pub fn drawColor_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawColor", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawColor\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawColor](https://developer.android.com/reference/android/graphics/Canvas.html#drawColor(int,%20android.graphics.PorterDuff.Mode))
///
/// Required features: "android-graphics-PorterDuff_Mode"
#[cfg(any(feature = "all", all(feature = "android-graphics-PorterDuff_Mode")))]
pub fn drawColor_int_Mode<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::PorterDuff_Mode>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawColor", .descriptor == "(ILandroid/graphics/PorterDuff$Mode;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawColor\0", "(ILandroid/graphics/PorterDuff$Mode;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPaint](https://developer.android.com/reference/android/graphics/Canvas.html#drawPaint(android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawPaint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPaint", .descriptor == "(Landroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPaint\0", "(Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPoints](https://developer.android.com/reference/android/graphics/Canvas.html#drawPoints(float%5B%5D,%20int,%20int,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawPoints_float_array_int_int_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "drawPoints", .descriptor == "([FIILandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPoints\0", "([FIILandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPoints](https://developer.android.com/reference/android/graphics/Canvas.html#drawPoints(float%5B%5D,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawPoints_float_array_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPoints", .descriptor == "([FLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPoints\0", "([FLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPoint](https://developer.android.com/reference/android/graphics/Canvas.html#drawPoint(float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawPoint<'env>(&'env self, arg0: f32, arg1: f32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "drawPoint", .descriptor == "(FFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPoint\0", "(FFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawLine](https://developer.android.com/reference/android/graphics/Canvas.html#drawLine(float,%20float,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawLine<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawLine", .descriptor == "(FFFFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawLine\0", "(FFFFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawLines](https://developer.android.com/reference/android/graphics/Canvas.html#drawLines(float%5B%5D,%20int,%20int,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawLines_float_array_int_int_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC | NATIVE, .name == "drawLines", .descriptor == "([FIILandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawLines\0", "([FIILandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawLines](https://developer.android.com/reference/android/graphics/Canvas.html#drawLines(float%5B%5D,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawLines_float_array_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawLines", .descriptor == "([FLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawLines\0", "([FLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawRect](https://developer.android.com/reference/android/graphics/Canvas.html#drawRect(android.graphics.RectF,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-RectF")))]
pub fn drawRect_RectF_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawRect", .descriptor == "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawRect\0", "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawRect](https://developer.android.com/reference/android/graphics/Canvas.html#drawRect(android.graphics.Rect,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-Rect")))]
pub fn drawRect_Rect_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawRect", .descriptor == "(Landroid/graphics/Rect;Landroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawRect\0", "(Landroid/graphics/Rect;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawRect](https://developer.android.com/reference/android/graphics/Canvas.html#drawRect(float,%20float,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawRect_float_float_float_float_Paint<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: f32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawRect", .descriptor == "(FFFFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawRect\0", "(FFFFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawOval](https://developer.android.com/reference/android/graphics/Canvas.html#drawOval(android.graphics.RectF,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-RectF")))]
pub fn drawOval<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawOval", .descriptor == "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawOval\0", "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawCircle](https://developer.android.com/reference/android/graphics/Canvas.html#drawCircle(float,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawCircle<'env>(&'env self, arg0: f32, arg1: f32, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawCircle", .descriptor == "(FFFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawCircle\0", "(FFFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawArc](https://developer.android.com/reference/android/graphics/Canvas.html#drawArc(android.graphics.RectF,%20float,%20float,%20boolean,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-RectF")))]
pub fn drawArc<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: f32, arg2: f32, arg3: bool, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawArc", .descriptor == "(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawArc\0", "(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawRoundRect](https://developer.android.com/reference/android/graphics/Canvas.html#drawRoundRect(android.graphics.RectF,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-RectF")))]
pub fn drawRoundRect<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg1: f32, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawRoundRect", .descriptor == "(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawRoundRect\0", "(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPath](https://developer.android.com/reference/android/graphics/Canvas.html#drawPath(android.graphics.Path,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-Path"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-Path")))]
pub fn drawPath<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPath", .descriptor == "(Landroid/graphics/Path;Landroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPath\0", "(Landroid/graphics/Path;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(android.graphics.Bitmap,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Bitmap", "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap", feature = "android-graphics-Paint")))]
pub fn drawBitmap_Bitmap_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Bitmap>>, arg1: f32, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmap", .descriptor == "(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmap\0", "(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(android.graphics.Bitmap,%20android.graphics.Rect,%20android.graphics.RectF,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Bitmap", "android-graphics-Paint", "android-graphics-Rect", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap", feature = "android-graphics-Paint", feature = "android-graphics-Rect", feature = "android-graphics-RectF")))]
pub fn drawBitmap_Bitmap_Rect_RectF_Paint<'env>(&'env self, 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::Rect>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmap", .descriptor == "(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/RectF;Landroid/graphics/Paint;)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()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmap\0", "(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/RectF;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(android.graphics.Bitmap,%20android.graphics.Rect,%20android.graphics.Rect,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Bitmap", "android-graphics-Paint", "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap", feature = "android-graphics-Paint", feature = "android-graphics-Rect")))]
pub fn drawBitmap_Bitmap_Rect_Rect_Paint<'env>(&'env self, 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::Rect>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmap", .descriptor == "(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)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()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmap\0", "(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(int%5B%5D,%20int,%20int,%20float,%20float,%20int,%20int,%20boolean,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawBitmap_int_array_int_int_float_float_int_int_boolean_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg1: i32, arg2: i32, arg3: f32, arg4: f32, arg5: i32, arg6: i32, arg7: bool, arg8: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmap", .descriptor == "([IIIFFIIZLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmap\0", "([IIIFFIIZLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(int%5B%5D,%20int,%20int,%20int,%20int,%20int,%20int,%20boolean,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawBitmap_int_array_int_int_int_int_int_int_boolean_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg1: i32, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: bool, arg8: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmap", .descriptor == "([IIIIIIIZLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmap\0", "([IIIIIIIZLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmap](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(android.graphics.Bitmap,%20android.graphics.Matrix,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Bitmap", "android-graphics-Matrix", "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap", feature = "android-graphics-Matrix", feature = "android-graphics-Paint")))]
pub fn drawBitmap_Bitmap_Matrix_Paint<'env>(&'env self, 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::Matrix>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmap", .descriptor == "(Landroid/graphics/Bitmap;Landroid/graphics/Matrix;Landroid/graphics/Paint;)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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmap\0", "(Landroid/graphics/Bitmap;Landroid/graphics/Matrix;Landroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawBitmapMesh](https://developer.android.com/reference/android/graphics/Canvas.html#drawBitmapMesh(android.graphics.Bitmap,%20int,%20int,%20float%5B%5D,%20int,%20int%5B%5D,%20int,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Bitmap", "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Bitmap", feature = "android-graphics-Paint")))]
pub fn drawBitmapMesh<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Bitmap>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg4: i32, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg6: i32, arg7: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawBitmapMesh", .descriptor == "(Landroid/graphics/Bitmap;II[FI[IILandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5.into()), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawBitmapMesh\0", "(Landroid/graphics/Bitmap;II[FI[IILandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawVertices](https://developer.android.com/reference/android/graphics/Canvas.html#drawVertices(android.graphics.Canvas.VertexMode,%20int,%20float%5B%5D,%20int,%20float%5B%5D,%20int,%20int%5B%5D,%20int,%20short%5B%5D,%20int,%20int,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Canvas_VertexMode", "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Canvas_VertexMode", feature = "android-graphics-Paint")))]
pub fn drawVertices<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Canvas_VertexMode>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg3: i32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg5: i32, arg6: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg7: i32, arg8: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ShortArray>>, arg9: i32, arg10: i32, arg11: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawVertices", .descriptor == "(Landroid/graphics/Canvas$VertexMode;I[FI[FI[II[SIILandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into()), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6.into()), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8.into()), __jni_bindgen::AsJValue::as_jvalue(&arg9), __jni_bindgen::AsJValue::as_jvalue(&arg10), __jni_bindgen::AsJValue::as_jvalue(&arg11.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawVertices\0", "(Landroid/graphics/Canvas$VertexMode;I[FI[FI[II[SIILandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawText](https://developer.android.com/reference/android/graphics/Canvas.html#drawText(char%5B%5D,%20int,%20int,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawText_char_array_int_int_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: i32, arg2: i32, arg3: f32, arg4: f32, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawText", .descriptor == "([CIIFFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawText\0", "([CIIFFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawText](https://developer.android.com/reference/android/graphics/Canvas.html#drawText(java.lang.String,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "java-lang-String")))]
pub fn drawText_String_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: f32, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawText", .descriptor == "(Ljava/lang/String;FFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawText\0", "(Ljava/lang/String;FFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawText](https://developer.android.com/reference/android/graphics/Canvas.html#drawText(java.lang.String,%20int,%20int,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "java-lang-String")))]
pub fn drawText_String_int_int_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32, arg2: i32, arg3: f32, arg4: f32, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawText", .descriptor == "(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawText\0", "(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawText](https://developer.android.com/reference/android/graphics/Canvas.html#drawText(java.lang.CharSequence,%20int,%20int,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "java-lang-CharSequence")))]
pub fn drawText_CharSequence_int_int_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32, arg2: i32, arg3: f32, arg4: f32, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawText", .descriptor == "(Ljava/lang/CharSequence;IIFFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawText\0", "(Ljava/lang/CharSequence;IIFFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPosText](https://developer.android.com/reference/android/graphics/Canvas.html#drawPosText(char%5B%5D,%20int,%20int,%20float%5B%5D,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint")))]
pub fn drawPosText_char_array_int_int_float_array_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPosText", .descriptor == "([CII[FLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPosText\0", "([CII[FLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPosText](https://developer.android.com/reference/android/graphics/Canvas.html#drawPosText(java.lang.String,%20float%5B%5D,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "java-lang-String")))]
pub fn drawPosText_String_float_array_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPosText", .descriptor == "(Ljava/lang/String;[FLandroid/graphics/Paint;)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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPosText\0", "(Ljava/lang/String;[FLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawTextOnPath](https://developer.android.com/reference/android/graphics/Canvas.html#drawTextOnPath(char%5B%5D,%20int,%20int,%20android.graphics.Path,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-Path"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-Path")))]
pub fn drawTextOnPath_char_array_int_int_Path_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>, arg4: f32, arg5: f32, arg6: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawTextOnPath", .descriptor == "([CIILandroid/graphics/Path;FFLandroid/graphics/Paint;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawTextOnPath\0", "([CIILandroid/graphics/Path;FFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawTextOnPath](https://developer.android.com/reference/android/graphics/Canvas.html#drawTextOnPath(java.lang.String,%20android.graphics.Path,%20float,%20float,%20android.graphics.Paint))
///
/// Required features: "android-graphics-Paint", "android-graphics-Path", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-graphics-Paint", feature = "android-graphics-Path", feature = "java-lang-String")))]
pub fn drawTextOnPath_String_Path_float_float_Paint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>, arg2: f32, arg3: f32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Paint>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawTextOnPath", .descriptor == "(Ljava/lang/String;Landroid/graphics/Path;FFLandroid/graphics/Paint;)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), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawTextOnPath\0", "(Ljava/lang/String;Landroid/graphics/Path;FFLandroid/graphics/Paint;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPicture](https://developer.android.com/reference/android/graphics/Canvas.html#drawPicture(android.graphics.Picture))
///
/// Required features: "android-graphics-Picture"
#[cfg(any(feature = "all", all(feature = "android-graphics-Picture")))]
pub fn drawPicture_Picture<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Picture>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPicture", .descriptor == "(Landroid/graphics/Picture;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPicture\0", "(Landroid/graphics/Picture;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPicture](https://developer.android.com/reference/android/graphics/Canvas.html#drawPicture(android.graphics.Picture,%20android.graphics.RectF))
///
/// Required features: "android-graphics-Picture", "android-graphics-RectF"
#[cfg(any(feature = "all", all(feature = "android-graphics-Picture", feature = "android-graphics-RectF")))]
pub fn drawPicture_Picture_RectF<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Picture>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::RectF>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPicture", .descriptor == "(Landroid/graphics/Picture;Landroid/graphics/RectF;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPicture\0", "(Landroid/graphics/Picture;Landroid/graphics/RectF;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [drawPicture](https://developer.android.com/reference/android/graphics/Canvas.html#drawPicture(android.graphics.Picture,%20android.graphics.Rect))
///
/// Required features: "android-graphics-Picture", "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Picture", feature = "android-graphics-Rect")))]
pub fn drawPicture_Picture_Rect<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Picture>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/Canvas", java.flags == PUBLIC, .name == "drawPicture", .descriptor == "(Landroid/graphics/Picture;Landroid/graphics/Rect;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Canvas\0", "drawPicture\0", "(Landroid/graphics/Picture;Landroid/graphics/Rect;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [MATRIX_SAVE_FLAG](https://developer.android.com/reference/android/graphics/Canvas.html#MATRIX_SAVE_FLAG)
pub const MATRIX_SAVE_FLAG : i32 = 1;
/// public static final [CLIP_SAVE_FLAG](https://developer.android.com/reference/android/graphics/Canvas.html#CLIP_SAVE_FLAG)
pub const CLIP_SAVE_FLAG : i32 = 2;
/// public static final [HAS_ALPHA_LAYER_SAVE_FLAG](https://developer.android.com/reference/android/graphics/Canvas.html#HAS_ALPHA_LAYER_SAVE_FLAG)
pub const HAS_ALPHA_LAYER_SAVE_FLAG : i32 = 4;
/// public static final [FULL_COLOR_LAYER_SAVE_FLAG](https://developer.android.com/reference/android/graphics/Canvas.html#FULL_COLOR_LAYER_SAVE_FLAG)
pub const FULL_COLOR_LAYER_SAVE_FLAG : i32 = 8;
/// public static final [CLIP_TO_LAYER_SAVE_FLAG](https://developer.android.com/reference/android/graphics/Canvas.html#CLIP_TO_LAYER_SAVE_FLAG)
pub const CLIP_TO_LAYER_SAVE_FLAG : i32 = 16;
/// public static final [ALL_SAVE_FLAG](https://developer.android.com/reference/android/graphics/Canvas.html#ALL_SAVE_FLAG)
pub const ALL_SAVE_FLAG : i32 = 31;
}
}