[]Struct jni_android_sys::android::graphics::Canvas

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

public class Canvas

Required feature: android-graphics-Canvas

Methods

impl Canvas

pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, Canvas>>[src]

pub fn new_bitmap<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Bitmap>>
) -> Result<Local<'env, Canvas>>
[src]

Required features: "android-graphics-Bitmap"

pub fn is_hardware_accelerated<'env>(&'env self) -> Result<bool>[src]

pub fn set_bitmap<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>
) -> Result<()>
[src]

setBitmap

Required features: "android-graphics-Bitmap"

pub fn is_opaque<'env>(&'env self) -> Result<bool>[src]

pub fn get_width<'env>(&'env self) -> Result<i32>[src]

pub fn get_height<'env>(&'env self) -> Result<i32>[src]

pub fn get_density<'env>(&'env self) -> Result<i32>[src]

pub fn set_density<'env>(&'env self, arg0: i32) -> Result<()>[src]

pub fn get_maximum_bitmap_width<'env>(&'env self) -> Result<i32>[src]

pub fn get_maximum_bitmap_height<'env>(&'env self) -> Result<i32>[src]

pub fn save<'env>(&'env self) -> Result<i32>[src]

pub fn save_layer_rect_f_paint_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env Paint>>,
    arg2: i32
) -> Result<i32>
[src]

Deprecated

saveLayer

Required features: "android-graphics-Paint", "android-graphics-RectF"

pub fn save_layer_rect_f_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<i32>
[src]

saveLayer

Required features: "android-graphics-Paint", "android-graphics-RectF"

pub fn save_layer_float_float_float_float_paint_int<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Paint>>,
    arg5: i32
) -> Result<i32>
[src]

Deprecated

saveLayer

Required features: "android-graphics-Paint"

pub fn save_layer_float_float_float_float_paint<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<i32>
[src]

saveLayer

Required features: "android-graphics-Paint"

pub fn save_layer_alpha_rect_f_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: i32,
    arg2: i32
) -> Result<i32>
[src]

Deprecated

saveLayerAlpha

Required features: "android-graphics-RectF"

pub fn save_layer_alpha_rect_f_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: i32
) -> Result<i32>
[src]

saveLayerAlpha

Required features: "android-graphics-RectF"

pub fn save_layer_alpha_float_float_float_float_int_int<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: i32,
    arg5: i32
) -> Result<i32>
[src]

Deprecated

pub fn save_layer_alpha_float_float_float_float_int<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: i32
) -> Result<i32>
[src]

pub fn restore<'env>(&'env self) -> Result<()>[src]

pub fn get_save_count<'env>(&'env self) -> Result<i32>[src]

pub fn restore_to_count<'env>(&'env self, arg0: i32) -> Result<()>[src]

pub fn translate<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]

pub fn scale_float_float<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]

pub fn scale_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<()>
[src]

pub fn rotate_float<'env>(&'env self, arg0: f32) -> Result<()>[src]

pub fn rotate_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32
) -> Result<()>
[src]

pub fn skew<'env>(&'env self, arg0: f32, arg1: f32) -> Result<()>[src]

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

concat

Required features: "android-graphics-Matrix"

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

setMatrix

Required features: "android-graphics-Matrix"

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

Deprecated

getMatrix

Required features: "android-graphics-Matrix"

pub fn get_matrix<'env>(&'env self) -> Result<Option<Local<'env, Matrix>>>[src]

Deprecated

getMatrix

Required features: "android-graphics-Matrix"

pub fn clip_rect_rect_f_op<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
[src]

Deprecated

clipRect

Required features: "android-graphics-RectF", "android-graphics-Region_Op"

pub fn clip_rect_rect_op<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>,
    arg1: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
[src]

Deprecated

clipRect

Required features: "android-graphics-Rect", "android-graphics-Region_Op"

pub fn clip_rect_rect_f<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>
[src]

clipRect

Required features: "android-graphics-RectF"

pub fn clip_out_rect_rect_f<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>
[src]

clipOutRect

Required features: "android-graphics-RectF"

pub fn clip_rect_rect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>
[src]

clipRect

Required features: "android-graphics-Rect"

pub fn clip_out_rect_rect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>
[src]

clipOutRect

Required features: "android-graphics-Rect"

pub fn clip_rect_float_float_float_float_op<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
[src]

Deprecated

clipRect

Required features: "android-graphics-Region_Op"

pub fn clip_rect_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<bool>
[src]

pub fn clip_out_rect_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<bool>
[src]

pub fn clip_rect_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<bool>
[src]

pub fn clip_out_rect_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<bool>
[src]

pub fn clip_path_path_op<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
[src]

Deprecated

clipPath

Required features: "android-graphics-Path", "android-graphics-Region_Op"

pub fn clip_path_path<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>
) -> Result<bool>
[src]

clipPath

Required features: "android-graphics-Path"

pub fn clip_out_path<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>
) -> Result<bool>
[src]

clipOutPath

Required features: "android-graphics-Path"

pub fn get_draw_filter<'env>(
    &'env self
) -> Result<Option<Local<'env, DrawFilter>>>
[src]

getDrawFilter

Required features: "android-graphics-DrawFilter"

pub fn set_draw_filter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DrawFilter>>
) -> Result<()>
[src]

setDrawFilter

Required features: "android-graphics-DrawFilter"

pub fn quick_reject_rect_f_edge_type<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env Canvas_EdgeType>>
) -> Result<bool>
[src]

quickReject

Required features: "android-graphics-Canvas_EdgeType", "android-graphics-RectF"

pub fn quick_reject_path_edge_type<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Canvas_EdgeType>>
) -> Result<bool>
[src]

quickReject

Required features: "android-graphics-Canvas_EdgeType", "android-graphics-Path"

pub fn quick_reject_float_float_float_float_edge_type<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Canvas_EdgeType>>
) -> Result<bool>
[src]

quickReject

Required features: "android-graphics-Canvas_EdgeType"

pub fn get_clip_bounds_rect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>
[src]

getClipBounds

Required features: "android-graphics-Rect"

pub fn get_clip_bounds<'env>(&'env self) -> Result<Option<Local<'env, Rect>>>[src]

getClipBounds

Required features: "android-graphics-Rect"

pub fn draw_picture_picture<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Picture>>
) -> Result<()>
[src]

drawPicture

Required features: "android-graphics-Picture"

pub fn draw_picture_picture_rect_f<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Picture>>,
    arg1: impl Into<Option<&'env RectF>>
) -> Result<()>
[src]

drawPicture

Required features: "android-graphics-Picture", "android-graphics-RectF"

pub fn draw_picture_picture_rect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Picture>>,
    arg1: impl Into<Option<&'env Rect>>
) -> Result<()>
[src]

drawPicture

Required features: "android-graphics-Picture", "android-graphics-Rect"

pub fn draw_arc_rect_f_float_float_boolean_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: f32,
    arg2: f32,
    arg3: bool,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawArc

Required features: "android-graphics-Paint", "android-graphics-RectF"

pub fn draw_arc_float_float_float_float_float_float_boolean_paint<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: f32,
    arg5: f32,
    arg6: bool,
    arg7: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawArc

Required features: "android-graphics-Paint"

pub fn draw_argb<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<()>
[src]

pub fn draw_bitmap_bitmap_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>,
    arg1: f32,
    arg2: f32,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawBitmap

Required features: "android-graphics-Bitmap", "android-graphics-Paint"

pub fn draw_bitmap_bitmap_rect_rect_f_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>,
    arg1: impl Into<Option<&'env Rect>>,
    arg2: impl Into<Option<&'env RectF>>,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawBitmap

Required features: "android-graphics-Bitmap", "android-graphics-Paint", "android-graphics-Rect", "android-graphics-RectF"

pub fn draw_bitmap_bitmap_rect_rect_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>,
    arg1: impl Into<Option<&'env Rect>>,
    arg2: impl Into<Option<&'env Rect>>,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawBitmap

Required features: "android-graphics-Bitmap", "android-graphics-Paint", "android-graphics-Rect"

pub fn draw_bitmap_int_array_int_int_float_float_int_int_boolean_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntArray>>,
    arg1: i32,
    arg2: i32,
    arg3: f32,
    arg4: f32,
    arg5: i32,
    arg6: i32,
    arg7: bool,
    arg8: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

Deprecated

drawBitmap

Required features: "android-graphics-Paint"

pub fn draw_bitmap_int_array_int_int_int_int_int_int_boolean_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32,
    arg7: bool,
    arg8: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

Deprecated

drawBitmap

Required features: "android-graphics-Paint"

pub fn draw_bitmap_bitmap_matrix_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>,
    arg1: impl Into<Option<&'env Matrix>>,
    arg2: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawBitmap

Required features: "android-graphics-Bitmap", "android-graphics-Matrix", "android-graphics-Paint"

pub fn draw_bitmap_mesh<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Bitmap>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env FloatArray>>,
    arg4: i32,
    arg5: impl Into<Option<&'env IntArray>>,
    arg6: i32,
    arg7: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawBitmapMesh

Required features: "android-graphics-Bitmap", "android-graphics-Paint"

pub fn draw_circle<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawCircle

Required features: "android-graphics-Paint"

pub fn draw_color_int<'env>(&'env self, arg0: i32) -> Result<()>[src]

pub fn draw_color_int_mode<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env PorterDuff_Mode>>
) -> Result<()>
[src]

drawColor

Required features: "android-graphics-PorterDuff_Mode"

pub fn draw_line<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawLine

Required features: "android-graphics-Paint"

pub fn draw_lines_float_array_int_int_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawLines

Required features: "android-graphics-Paint"

pub fn draw_lines_float_array_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawLines

Required features: "android-graphics-Paint"

pub fn draw_oval_rect_f_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawOval

Required features: "android-graphics-Paint", "android-graphics-RectF"

pub fn draw_oval_float_float_float_float_paint<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawOval

Required features: "android-graphics-Paint"

pub fn draw_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawPaint

Required features: "android-graphics-Paint"

pub fn draw_path<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawPath

Required features: "android-graphics-Paint", "android-graphics-Path"

pub fn draw_point<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawPoint

Required features: "android-graphics-Paint"

pub fn draw_points_float_array_int_int_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawPoints

Required features: "android-graphics-Paint"

pub fn draw_points_float_array_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env FloatArray>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawPoints

Required features: "android-graphics-Paint"

pub fn draw_pos_text_char_array_int_int_float_array_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharArray>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env FloatArray>>,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

Deprecated

drawPosText

Required features: "android-graphics-Paint"

pub fn draw_pos_text_string_float_array_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env FloatArray>>,
    arg2: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

Deprecated

drawPosText

Required features: "android-graphics-Paint", "java-lang-String"

pub fn draw_rect_rect_f_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawRect

Required features: "android-graphics-Paint", "android-graphics-RectF"

pub fn draw_rect_rect_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>,
    arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawRect

Required features: "android-graphics-Paint", "android-graphics-Rect"

pub fn draw_rect_float_float_float_float_paint<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawRect

Required features: "android-graphics-Paint"

pub fn draw_rgb<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> Result<()>[src]

pub fn draw_round_rect_rect_f_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: f32,
    arg2: f32,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawRoundRect

Required features: "android-graphics-Paint", "android-graphics-RectF"

pub fn draw_round_rect_float_float_float_float_float_float_paint<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32,
    arg4: f32,
    arg5: f32,
    arg6: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawRoundRect

Required features: "android-graphics-Paint"

pub fn draw_text_char_array_int_int_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharArray>>,
    arg1: i32,
    arg2: i32,
    arg3: f32,
    arg4: f32,
    arg5: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawText

Required features: "android-graphics-Paint"

pub fn draw_text_string_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: f32,
    arg2: f32,
    arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawText

Required features: "android-graphics-Paint", "java-lang-String"

pub fn draw_text_string_int_int_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: i32,
    arg3: f32,
    arg4: f32,
    arg5: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawText

Required features: "android-graphics-Paint", "java-lang-String"

pub fn draw_text_char_sequence_int_int_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i32,
    arg2: i32,
    arg3: f32,
    arg4: f32,
    arg5: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawText

Required features: "android-graphics-Paint", "java-lang-CharSequence"

pub fn draw_text_on_path_char_array_int_int_path_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharArray>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env Path>>,
    arg4: f32,
    arg5: f32,
    arg6: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawTextOnPath

Required features: "android-graphics-Paint", "android-graphics-Path"

pub fn draw_text_on_path_string_path_float_float_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Path>>,
    arg2: f32,
    arg3: f32,
    arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawTextOnPath

Required features: "android-graphics-Paint", "android-graphics-Path", "java-lang-String"

pub fn draw_text_run_char_array_int_int_int_int_float_float_boolean_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: f32,
    arg6: f32,
    arg7: bool,
    arg8: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawTextRun

Required features: "android-graphics-Paint"

pub fn draw_text_run_char_sequence_int_int_int_int_float_float_boolean_paint<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: f32,
    arg6: f32,
    arg7: bool,
    arg8: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawTextRun

Required features: "android-graphics-Paint", "java-lang-CharSequence"

pub fn draw_vertices<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Canvas_VertexMode>>,
    arg1: i32,
    arg2: impl Into<Option<&'env FloatArray>>,
    arg3: i32,
    arg4: impl Into<Option<&'env FloatArray>>,
    arg5: i32,
    arg6: impl Into<Option<&'env IntArray>>,
    arg7: i32,
    arg8: impl Into<Option<&'env ShortArray>>,
    arg9: i32,
    arg10: i32,
    arg11: impl Into<Option<&'env Paint>>
) -> Result<()>
[src]

drawVertices

Required features: "android-graphics-Canvas_VertexMode", "android-graphics-Paint"

pub const ALL_SAVE_FLAG: i32[src]

public static final ALL_SAVE_FLAG

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

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

impl Deref for Canvas

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Canvas

impl AsJValue for Canvas

Auto Trait Implementations

impl !Sync for Canvas

impl Unpin for Canvas

impl !Send for Canvas

impl UnwindSafe for Canvas

impl RefUnwindSafe for Canvas

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]