[]Struct jni_android_sys::android::graphics::Path

#[repr(transparent)]
pub struct 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]

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]

set

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]

op

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]

op

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]

getFillType

Required features: "android-graphics-Path_FillType"

pub fn set_fill_type<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path_FillType>>
) -> Result<()>
[src]

setFillType

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]

isRect

Required features: "android-graphics-RectF"

pub fn compute_bounds<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: bool
) -> Result<()>
[src]

computeBounds

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]

pub fn r_quad_to<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<()>
[src]

pub fn cubic_to<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: f32,
    arg5: f32
) -> Result<()>
[src]

pub fn r_cubic_to<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: f32,
    arg5: f32
) -> Result<()>
[src]

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]

arcTo

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]

arcTo

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]

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]

addRect

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]

addRect

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]

addOval

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]

addOval

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]

addCircle

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]

addArc

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]

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]

addRoundRect

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]

addRoundRect

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]

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]

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]

addPath

Required features: "android-graphics-Path"

pub fn add_path_path<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>
) -> Result<()>
[src]

addPath

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]

addPath

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]

offset

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]

transform

Required features: "android-graphics-Matrix", "android-graphics-Path"

pub fn transform_matrix<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
[src]

transform

Required features: "android-graphics-Matrix"

pub fn approximate<'env>(
    &'env self,
    arg0: f32
) -> Result<Option<Local<'env, FloatArray>>>
[src]

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

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

impl Deref for Path

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Path

impl AsJValue for Path

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]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]