[−]Struct jni_android_sys::android::graphics::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<Local<'env, Matrix>>
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]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>
pub fn set_scale_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>
pub fn set_rotate_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>
pub fn set_sin_cos_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>
pub fn set_skew_float_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>
pub fn set_skew_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>
pub fn set_concat<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>,
arg1: impl Into<Option<&'env Matrix>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>,
arg1: impl Into<Option<&'env Matrix>>
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>
pub fn pre_scale_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>
pub fn pre_rotate_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>
pub fn pre_skew_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>
pub fn pre_concat<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>
pub fn post_scale_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>
pub fn post_rotate_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>
pub fn post_skew_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool>
pub fn post_concat<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env RectF>>,
arg2: impl Into<Option<&'env Matrix_ScaleToFit>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>,
arg3: i32,
arg4: i32
) -> Result<bool>
setPolyToPoly
pub fn invert<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>,
arg3: i32,
arg4: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: i32,
arg2: impl Into<Option<&'env FloatArray>>,
arg3: i32,
arg4: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: impl Into<Option<&'env FloatArray>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: impl Into<Option<&'env FloatArray>>
) -> Result<()>
mapVectors
pub fn map_points_float_array<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>
mapPoints
pub fn map_vectors_float_array<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env RectF>>
) -> Result<bool>
Required features: "android-graphics-RectF"
pub fn map_rect_rect_f<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>
getValues
pub fn set_values<'env>(
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>
) -> Result<()>
setValues
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn to_short_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
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]
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
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
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]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,