[]Struct jni_android_sys::android::graphics::Matrix

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

public class Matrix

Required feature: "android-graphics-Matrix"

Methods

impl Matrix

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, Matrix>, Local<'env, Throwable>>
[src]

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

Matrix

Required features: "android-graphics-Matrix"

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

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

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

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

set

Required features: "android-graphics-Matrix"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

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

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

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

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

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

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

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

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

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

setConcat

Required features: "android-graphics-Matrix"

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

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

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

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

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

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

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

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

preConcat

Required features: "android-graphics-Matrix"

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

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

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

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

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

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

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

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

postConcat

Required features: "android-graphics-Matrix"

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

setRectToRect

Required features: "android-graphics-Matrix_ScaleToFit", "android-graphics-RectF"

pub fn setPolyToPoly<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: i32,
    arg2: impl Into<Option<&'env FloatArray>>,
    arg3: i32,
    arg4: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

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

invert

Required features: "android-graphics-Matrix"

pub fn mapPoints_float_array_int_float_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: i32,
    arg2: impl Into<Option<&'env FloatArray>>,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn mapVectors_float_array_int_float_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: i32,
    arg2: impl Into<Option<&'env FloatArray>>,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

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

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

mapRect

Required features: "android-graphics-RectF"

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

mapRect

Required features: "android-graphics-RectF"

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

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

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

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

toString

Required features: "java-lang-String"

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

toShortString

Required features: "java-lang-String"

pub const MPERSP_0: i32[src]

public static final MPERSP_0

pub const MPERSP_1: i32[src]

public static final MPERSP_1

pub const MPERSP_2: i32[src]

public static final MPERSP_2

pub const MSCALE_X: i32[src]

public static final MSCALE_X

pub const MSCALE_Y: i32[src]

public static final MSCALE_Y

pub const MSKEW_X: i32[src]

public static final MSKEW_X

pub const MSKEW_Y: i32[src]

public static final MSKEW_Y

pub const MTRANS_X: i32[src]

public static final MTRANS_X

pub const MTRANS_Y: i32[src]

public static final MTRANS_Y

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 Matrix

impl AsValidJObjectAndEnv for Matrix

impl Deref for Matrix

type Target = Object

The resulting type after dereferencing.

impl JniType for Matrix

Auto Trait Implementations

impl RefUnwindSafe for Matrix

impl !Send for Matrix

impl !Sync for Matrix

impl Unpin for Matrix

impl UnwindSafe for Matrix

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.