Share via


View.DispatchDraw(Canvas) Method

Definition

Called by draw to draw the child views.

[Android.Runtime.Register("dispatchDraw", "(Landroid/graphics/Canvas;)V", "GetDispatchDraw_Landroid_graphics_Canvas_Handler")]
protected virtual void DispatchDraw (Android.Graphics.Canvas canvas);
[<Android.Runtime.Register("dispatchDraw", "(Landroid/graphics/Canvas;)V", "GetDispatchDraw_Landroid_graphics_Canvas_Handler")>]
abstract member DispatchDraw : Android.Graphics.Canvas -> unit
override this.DispatchDraw : Android.Graphics.Canvas -> unit

Parameters

canvas
Canvas

the canvas on which to draw the view

Attributes

Remarks

Called by draw to draw the child views. This may be overridden by derived classes to gain control just before its children are drawn (but after its own view has been drawn).

Java documentation for android.view.View.dispatchDraw(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.

Applies to