[−]Struct jni_android_sys::android::graphics::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<Local<'env, Canvas>>
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]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Paint>>,
arg2: i32
) -> Result<i32>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<i32>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Paint>>,
arg5: i32
) -> Result<i32>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Paint>>
) -> Result<i32>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: i32,
arg2: i32
) -> Result<i32>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: i32
) -> Result<i32>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: i32,
arg5: i32
) -> Result<i32>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: i32
) -> Result<i32>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix"
pub fn set_matrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix"
pub fn get_matrix_matrix<'env>(
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Matrix>>
) -> Result<()>
Required features: "android-graphics-Matrix"
pub fn get_matrix<'env>(&'env self) -> Result<Option<Local<'env, Matrix>>>[src]
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env Rect>>,
arg1: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>
Required features: "android-graphics-RectF"
pub fn clip_out_rect_rect_f<'env>(
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env RectF>>
) -> Result<bool>
Required features: "android-graphics-RectF"
pub fn clip_rect_rect<'env>(
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>
Required features: "android-graphics-Rect"
pub fn clip_out_rect_rect<'env>(
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>
pub fn clip_out_rect_float_float_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>[src]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32
) -> Result<bool>
pub fn clip_rect_int_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool>
pub fn clip_out_rect_int_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Region_Op>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool>
Required features: "android-graphics-Path"
pub fn clip_out_path<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<bool>
Required features: "android-graphics-Path"
pub fn get_draw_filter<'env>(
&'env self
) -> Result<Option<Local<'env, DrawFilter>>>[src]
&'env self
) -> Result<Option<Local<'env, DrawFilter>>>
Required features: "android-graphics-DrawFilter"
pub fn set_draw_filter<'env>(
&'env self,
arg0: impl Into<Option<&'env DrawFilter>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env DrawFilter>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Canvas_EdgeType>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Canvas_EdgeType>>
) -> Result<bool>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Canvas_EdgeType>>
) -> Result<bool>
Required features: "android-graphics-Canvas_EdgeType"
pub fn get_clip_bounds_rect<'env>(
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<bool>
Required features: "android-graphics-Rect"
pub fn get_clip_bounds<'env>(&'env self) -> Result<Option<Local<'env, Rect>>>[src]
Required features: "android-graphics-Rect"
pub fn draw_picture_picture<'env>(
&'env self,
arg0: impl Into<Option<&'env Picture>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Picture>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Picture>>,
arg1: impl Into<Option<&'env RectF>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Picture>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: bool,
arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: bool,
arg7: impl Into<Option<&'env Paint>>
) -> Result<()>
Required features: "android-graphics-Paint"
pub fn draw_argb<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'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<()>
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]
&'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<()>
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]
&'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<()>
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]
&'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<()>
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]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>,
arg1: impl Into<Option<&'env Matrix>>,
arg2: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'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<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PorterDuff_Mode>>
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
Required features: "android-graphics-Paint"
pub fn draw_paint<'env>(
&'env self,
arg0: impl Into<Option<&'env Paint>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env FloatArray>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'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<()>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env FloatArray>>,
arg2: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Rect>>,
arg1: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env RectF>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: f32,
arg1: f32,
arg2: f32,
arg3: f32,
arg4: f32,
arg5: f32,
arg6: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32,
arg3: f32,
arg4: f32,
arg5: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: f32,
arg2: f32,
arg3: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: f32,
arg4: f32,
arg5: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: f32,
arg4: f32,
arg5: impl Into<Option<&'env Paint>>
) -> Result<()>
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]
&'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<()>
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]
&'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<()>
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]
&'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<()>
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]
&'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<()>
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]
&'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<()>
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]
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
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
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]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,