[]Struct jni_android_sys::android::gesture::GestureStroke

#[repr(transparent)]
pub struct GestureStroke(_);

public class GestureStroke

Required feature: "android-gesture-GestureStroke"

Methods

impl GestureStroke

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

GestureStroke

Required features: "java-util-ArrayList"

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

clone

Required features: "java-lang-Object"

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

getPath

Required features: "android-graphics-Path"

pub fn toPath<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: i32
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

toPath

Required features: "android-graphics-Path"

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

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

computeOrientedBoundingBox

Required features: "android-gesture-OrientedBoundingBox"

pub fn boundingBox<'env>(&'env self) -> Option<Local<'env, RectF>>[src]

get public final boundingBox

Required feature: "android-graphics-RectF"

pub fn length<'env>(&'env self) -> f32[src]

get public final length

pub fn points<'env>(&'env self) -> Option<Local<'env, FloatArray>>[src]

get public final points

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 GestureStroke

impl AsValidJObjectAndEnv for GestureStroke

impl Deref for GestureStroke

type Target = Object

The resulting type after dereferencing.

impl JniType for GestureStroke

Auto Trait Implementations

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.