[−]Struct jni_android_sys::android::graphics::Path
public class Path
Required feature: android-graphics-Path
Methods
impl Path
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, Path>>[src]
pub fn new_path<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, Path>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, Path>>
Required features: "android-graphics-Path"
pub fn reset<'env>(&'env self) -> Result<()>[src]
pub fn rewind<'env>(&'env self) -> Result<()>[src]
pub fn set<'env>(&'env self, arg0: impl Into<Option<&'env Path>>) -> Result<()>[src]
Required features: "android-graphics-Path"
pub fn op_path_op<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path_Op>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path_Op>>
) -> Result<bool>
Required features: "android-graphics-Path", "android-graphics-Path_Op"
pub fn op_path_path_op<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env Path_Op>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env Path_Op>>
) -> Result<bool>
Required features: "android-graphics-Path", "android-graphics-Path_Op"
pub fn is_convex<'env>(&'env self) -> Result<bool>[src]
pub fn get_fill_type<'env>(
&'env self
) -> Result<Option<Local<'env, Path_FillType>>>[src]
&'env self
) -> Result<Option<Local<'env, Path_FillType>>>
Required features: "android-graphics-Path_FillType"
pub fn set_fill_type<'env>(
&'env self,
arg0: impl Into<Option<&'env Path_FillType>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Path_FillType>>
) -> Result<()>
Required features: "android-graphics-Path_FillType"
pub fn is_inverse_fill_type<'env>(&'env self) -> Result<bool>[src]
pub fn toggle_inverse_fill_type<'env>(&'env self) -> Result<()>[src]
pub fn is_empty<'env>(&'env self) -> Result<bool>[src]
pub fn is_rect<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>
Required features: "android-graphics-RectF"
pub fn compute_bounds<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: bool
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: bool
) -> Result<()>
Required features: "android-graphics-RectF"
pub fn inc_reserve<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn move_to<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]
pub fn r_move_to<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]
pub fn line_to<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]
pub fn r_line_to<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]
pub fn quad_to<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>
pub fn r_quad_to<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>
pub fn cubic_to<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<()>
pub fn r_cubic_to<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<()>
pub fn arc_to_rect_f_float_float_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<()>
Required features: "android-graphics-RectF"
pub fn arc_to_rect_f_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<()>
Required features: "android-graphics-RectF"
pub fn arc_to_float_float_float_float_float_float_boolean<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: bool
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: bool
) -> Result<()>
pub fn close<'env>(&'env self) -> Result<()>[src]
pub fn add_rect_rect_f_direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn add_rect_float_float_float_float_direction<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction"
pub fn add_oval_rect_f_direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn add_oval_float_float_float_float_direction<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction"
pub fn add_circle<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction"
pub fn add_arc_rect_f_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<()>
Required features: "android-graphics-RectF"
pub fn add_arc_float_float_float_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<()>
pub fn add_round_rect_rect_f_float_float_direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn add_round_rect_float_float_float_float_float_float_direction<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
Required features: "android-graphics-Path_Direction"
pub fn add_round_rect_rect_f_float_array_direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env FloatArray>>,
arg2: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env FloatArray>>,
arg2: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
addRoundRect
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn add_round_rect_float_float_float_float_float_array_direction<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env FloatArray>>,
arg5: impl Into<Option<&'env Path_Direction>>
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env FloatArray>>,
arg5: impl Into<Option<&'env Path_Direction>>
) -> Result<()>
addRoundRect
Required features: "android-graphics-Path_Direction"
pub fn add_path_path_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: f32,
arg2: f32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: f32,
arg2: f32
) -> Result<()>
Required features: "android-graphics-Path"
pub fn add_path_path<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<()>
Required features: "android-graphics-Path"
pub fn add_path_path_matrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Matrix>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix", "android-graphics-Path"
pub fn offset_float_float_path<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: impl Into<Option<&'env Path>>
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: impl Into<Option<&'env Path>>
) -> Result<()>
Required features: "android-graphics-Path"
pub fn offset_float_float<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]
pub fn set_last_point<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]
pub fn transform_matrix_path<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<()>
Required features: "android-graphics-Matrix", "android-graphics-Path"
pub fn transform_matrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix"
pub fn approximate<'env>(
&'env self,
arg0: f32
) -> Result<Option<Local<'env, FloatArray>>>[src]
&'env self,
arg0: f32
) -> Result<Option<Local<'env, FloatArray>>>
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
Auto Trait Implementations
impl !Sync for Path
impl Unpin for Path
impl !Send for Path
impl UnwindSafe for Path
impl RefUnwindSafe for Path
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,