[−]Struct jni_android_sys::android::graphics::drawable::shapes::ArcShape
public class ArcShape
Required feature: "android-graphics-drawable-shapes-ArcShape"
Methods
impl ArcShape
pub fn new<'env>(
__jni_env: &'env Env,
arg0: f32,
arg1: f32
) -> Result<Local<'env, ArcShape>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f32,
arg1: f32
) -> Result<Local<'env, ArcShape>, Local<'env, Throwable>>
pub fn getStartAngle<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>
[src]
pub fn getSweepAngle<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>
[src]
pub fn draw<'env>(
&'env self,
arg0: impl Into<Option<&'env Canvas>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Canvas>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Canvas", "android-graphics-Paint"
pub fn getOutline<'env>(
&'env self,
arg0: impl Into<Option<&'env Outline>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Outline>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Outline"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, ArcShape>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArcShape>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-shapes-ArcShape"
Methods from Deref<Target = RectShape>
pub fn draw<'env>(
&'env self,
arg0: impl Into<Option<&'env Canvas>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Canvas>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Canvas", "android-graphics-Paint"
pub fn getOutline<'env>(
&'env self,
arg0: impl Into<Option<&'env Outline>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Outline>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Outline"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, RectShape>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, RectShape>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-shapes-RectShape"
Trait Implementations
impl AsJValue for ArcShape
impl AsValidJObjectAndEnv for ArcShape
impl Deref for ArcShape
impl JniType for ArcShape
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ArcShape
impl !Send for ArcShape
impl !Sync for ArcShape
impl Unpin for ArcShape
impl UnwindSafe for ArcShape
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,