[]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>>[src]

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

Required features: "android-graphics-Matrix"

pub fn is_identity<'env>(&'env self) -> Result<bool>[src]

pub fn is_affine<'env>(&'env self) -> Result<bool>[src]

pub fn rect_stays_rect<'env>(&'env self) -> Result<bool>[src]

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

set

Required features: "android-graphics-Matrix"

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

equals

Required features: "java-lang-Object"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

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

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

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

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

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

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

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

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

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

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

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

setConcat

Required features: "android-graphics-Matrix"

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

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

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

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

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

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

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

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

preConcat

Required features: "android-graphics-Matrix"

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

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

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

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

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

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

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

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

postConcat

Required features: "android-graphics-Matrix"

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

setRectToRect

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

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

setPolyToPoly

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

invert

Required features: "android-graphics-Matrix"

pub fn map_points_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<()>
[src]

mapPoints

pub fn map_vectors_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<()>
[src]

mapVectors

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

mapPoints

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

mapVectors

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

mapPoints

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

mapVectors

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

mapRect

Required features: "android-graphics-RectF"

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

mapRect

Required features: "android-graphics-RectF"

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

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

getValues

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

setValues

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

toString

Required features: "java-lang-String"

pub fn to_short_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[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 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 Matrix

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Matrix

impl AsJValue for Matrix

Auto Trait Implementations

impl !Sync for Matrix

impl Unpin for Matrix

impl !Send for Matrix

impl UnwindSafe for Matrix

impl RefUnwindSafe for Matrix

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]