[]Struct jni_android_sys::android::graphics::LinearGradient

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

public class LinearGradient

Required feature: "android-graphics-LinearGradient"

Methods

impl LinearGradient

pub fn new_float_float_float_float_int_array_float_array_TileMode<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env IntArray>>,
    arg5: impl Into<Option<&'env FloatArray>>,
    arg6: impl Into<Option<&'env Shader_TileMode>>
) -> Result<Local<'env, LinearGradient>, Local<'env, Throwable>>
[src]

LinearGradient

Required features: "android-graphics-Shader_TileMode"

pub fn new_float_float_float_float_int_int_TileMode<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: i32,
    arg5: i32,
    arg6: impl Into<Option<&'env Shader_TileMode>>
) -> Result<Local<'env, LinearGradient>, Local<'env, Throwable>>
[src]

LinearGradient

Required features: "android-graphics-Shader_TileMode"

Methods from Deref<Target = Shader>

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

getLocalMatrix

Required features: "android-graphics-Matrix"

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

setLocalMatrix

Required features: "android-graphics-Matrix"

Trait Implementations

impl AsJValue for LinearGradient

impl AsValidJObjectAndEnv for LinearGradient

impl Deref for LinearGradient

type Target = Shader

The resulting type after dereferencing.

impl JniType for LinearGradient

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.