[−]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>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Path>, Local<'env, Throwable>>
pub fn new_Path<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, Path>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, Path>, Local<'env, Throwable>>
Required features: "android-graphics-Path"
pub fn reset<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn rewind<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn set<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
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, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path_Op>>
) -> Result<bool, Local<'env, Throwable>>
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, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Path>>,
arg2: impl Into<Option<&'env Path_Op>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Path", "android-graphics-Path_Op"
pub fn isConvex<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn getFillType<'env>(
&'env self
) -> Result<Option<Local<'env, Path_FillType>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Path_FillType>>, Local<'env, Throwable>>
Required features: "android-graphics-Path_FillType"
pub fn setFillType<'env>(
&'env self,
arg0: impl Into<Option<&'env Path_FillType>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path_FillType>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_FillType"
pub fn isInverseFillType<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn toggleInverseFillType<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn isEmpty<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isRect<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-RectF"
pub fn computeBounds<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-RectF"
pub fn incReserve<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn moveTo<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn rMoveTo<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn lineTo<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn rLineTo<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn quadTo<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<(), Local<'env, Throwable>>
pub fn rQuadTo<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<(), Local<'env, Throwable>>
pub fn cubicTo<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<(), Local<'env, Throwable>>
pub fn rCubicTo<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<(), Local<'env, Throwable>>
pub fn arcTo_RectF_float_float_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-RectF"
pub fn arcTo_RectF_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-RectF"
pub fn arcTo_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<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: bool
) -> Result<(), Local<'env, Throwable>>
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn addRect_RectF_Direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn addRect_float_float_float_float_Direction<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction"
pub fn addOval_RectF_Direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn addOval_float_float_float_float_Direction<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction"
pub fn addCircle<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction"
pub fn addArc_RectF_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-RectF"
pub fn addArc_float_float_float_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32
) -> Result<(), Local<'env, Throwable>>
pub fn addRoundRect_RectF_float_float_Direction<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn addRoundRect_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<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction"
pub fn addRoundRect_RectF_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<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env FloatArray>>,
arg2: impl Into<Option<&'env Path_Direction>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction", "android-graphics-RectF"
pub fn addRoundRect_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<(), Local<'env, Throwable>>
[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<(), Local<'env, Throwable>>
Required features: "android-graphics-Path_Direction"
pub fn addPath_Path_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path"
pub fn addPath_Path<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path"
pub fn addPath_Path_Matrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
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<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Path"
pub fn offset_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn setLastPoint<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn transform_Matrix_Path<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>,
arg1: impl Into<Option<&'env Path>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Matrix", "android-graphics-Path"
pub fn transform_Matrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Matrix"
pub fn approximate<'env>(
&'env self,
arg0: f32
) -> Result<Option<Local<'env, FloatArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<Option<Local<'env, FloatArray>>, Local<'env, Throwable>>
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Path
impl AsValidJObjectAndEnv for Path
impl Deref for Path
impl JniType for Path
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Path
impl !Send for Path
impl !Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,