Aracılığıyla paylaş


ViewGroup.DrawChild(Canvas, View, Int64) Method

Definition

Draw one child of this View Group.

[Android.Runtime.Register("drawChild", "(Landroid/graphics/Canvas;Landroid/view/View;J)Z", "GetDrawChild_Landroid_graphics_Canvas_Landroid_view_View_JHandler")]
protected virtual bool DrawChild (Android.Graphics.Canvas canvas, Android.Views.View? child, long drawingTime);
[<Android.Runtime.Register("drawChild", "(Landroid/graphics/Canvas;Landroid/view/View;J)Z", "GetDrawChild_Landroid_graphics_Canvas_Landroid_view_View_JHandler")>]
abstract member DrawChild : Android.Graphics.Canvas * Android.Views.View * int64 -> bool
override this.DrawChild : Android.Graphics.Canvas * Android.Views.View * int64 -> bool

Parameters

canvas
Canvas

The canvas on which to draw the child

child
View

Who to draw

drawingTime
Int64

The time at which draw is occurring

Returns

True if an invalidate() was issued

Attributes

Remarks

Draw one child of this View Group. This method is responsible for getting the canvas in the right state. This includes clipping, translating so that the child's scrolled origin is at 0, 0, and applying any animation transformations.

Java documentation for android.view.ViewGroup.drawChild(android.graphics.Canvas, android.view.View, long).

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