RectShape.Draw(Canvas, Paint) Method

Definition

Draw this shape into the provided Canvas, with the provided Paint.

[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_Handler")]
public override void Draw (Android.Graphics.Canvas? canvas, Android.Graphics.Paint? paint);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_Handler")>]
override this.Draw : Android.Graphics.Canvas * Android.Graphics.Paint -> unit

Parameters

canvas
Canvas

the Canvas within which this shape should be drawn

paint
Paint

the Paint object that defines this shape's characteristics

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to