[]Struct jni_android_sys::android::graphics::SweepGradient

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

public class SweepGradient

Required feature: "android-graphics-SweepGradient"

Methods

impl SweepGradient

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

pub fn new_float_float_int_int<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, SweepGradient>, Local<'env, Throwable>>
[src]

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 SweepGradient

impl AsValidJObjectAndEnv for SweepGradient

impl Deref for SweepGradient

type Target = Shader

The resulting type after dereferencing.

impl JniType for SweepGradient

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.