1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-graphics-PathDashPathEffect"))]
__jni_bindgen! {
    /// public class [PathDashPathEffect](https://developer.android.com/reference/android/graphics/PathDashPathEffect.html)
    ///
    /// Required feature: "android-graphics-PathDashPathEffect"
    public class PathDashPathEffect ("android/graphics/PathDashPathEffect") extends crate::android::graphics::PathEffect {

        /// [PathDashPathEffect](https://developer.android.com/reference/android/graphics/PathDashPathEffect.html#PathDashPathEffect(android.graphics.Path,%20float,%20float,%20android.graphics.PathDashPathEffect.Style))
        ///
        /// Required features: "android-graphics-Path", "android-graphics-PathDashPathEffect_Style"
        #[cfg(any(feature = "all", all(feature = "android-graphics-Path", feature = "android-graphics-PathDashPathEffect_Style")))]
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Path>>, arg1: f32, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::PathDashPathEffect_Style>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::PathDashPathEffect>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/graphics/PathDashPathEffect", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/graphics/Path;FFLandroid/graphics/PathDashPathEffect$Style;)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_class, __jni_method) = __jni_env.require_class_method("android/graphics/PathDashPathEffect\0", "<init>\0", "(Landroid/graphics/Path;FFLandroid/graphics/PathDashPathEffect$Style;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}