[]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>, Local<'env, Throwable>>
[src]

pub fn new_Path<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, Path>, Local<'env, Throwable>>
[src]

Path

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]

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, Local<'env, Throwable>>
[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, Local<'env, Throwable>>
[src]

op

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]

getFillType

Required features: "android-graphics-Path_FillType"

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

setFillType

Required features: "android-graphics-Path_FillType"

pub fn isInverseFillType<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn toggleInverseFillType<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

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]

isRect

Required features: "android-graphics-RectF"

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

computeBounds

Required features: "android-graphics-RectF"

pub fn incReserve<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn moveTo<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn rMoveTo<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn lineTo<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn rLineTo<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

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

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]

arcTo

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]

arcTo

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]

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]

addRect

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]

addRect

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]

addOval

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]

addOval

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]

addCircle

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]

addArc

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]

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]

addRoundRect

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]

addRoundRect

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]

addRoundRect

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]

addRoundRect

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]

addPath

Required features: "android-graphics-Path"

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

addPath

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]

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<(), Local<'env, Throwable>>
[src]

offset

Required features: "android-graphics-Path"

pub fn offset_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setLastPoint<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

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]

transform

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]

transform

Required features: "android-graphics-Matrix"

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

Methods from Deref<Target = Object>

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

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

type Target = Object

The resulting type after dereferencing.

impl JniType for Path

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]

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.