View.OnDraw(Canvas) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implement this to do your drawing.
[Android.Runtime.Register("onDraw", "(Landroid/graphics/Canvas;)V", "GetOnDraw_Landroid_graphics_Canvas_Handler")]
protected virtual void OnDraw (Android.Graphics.Canvas canvas);
[<Android.Runtime.Register("onDraw", "(Landroid/graphics/Canvas;)V", "GetOnDraw_Landroid_graphics_Canvas_Handler")>]
abstract member OnDraw : Android.Graphics.Canvas -> unit
override this.OnDraw : Android.Graphics.Canvas -> unit
Parameters
- canvas
- Canvas
the canvas on which the background will be drawn
- Attributes
Remarks
Implement this to do your drawing.
Java documentation for android.view.View.onDraw(android.graphics.Canvas)
.
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.