[]Struct jni_android_sys::android::graphics::RadialGradient

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

public class RadialGradient

Required feature: "android-graphics-RadialGradient"

Methods

impl RadialGradient

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

RadialGradient

Required features: "android-graphics-Shader_TileMode"

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

RadialGradient

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 RadialGradient

impl AsValidJObjectAndEnv for RadialGradient

impl Deref for RadialGradient

type Target = Shader

The resulting type after dereferencing.

impl JniType for RadialGradient

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.