Sdílet prostřednictvím


View.OnDrawForeground(Canvas) Method

Definition

Draw any foreground content for this view.

[Android.Runtime.Register("onDrawForeground", "(Landroid/graphics/Canvas;)V", "GetOnDrawForeground_Landroid_graphics_Canvas_Handler", ApiSince=23)]
public virtual void OnDrawForeground (Android.Graphics.Canvas canvas);
[<Android.Runtime.Register("onDrawForeground", "(Landroid/graphics/Canvas;)V", "GetOnDrawForeground_Landroid_graphics_Canvas_Handler", ApiSince=23)>]
abstract member OnDrawForeground : Android.Graphics.Canvas -> unit
override this.OnDrawForeground : Android.Graphics.Canvas -> unit

Parameters

canvas
Canvas

canvas to draw into

Attributes

Remarks

Draw any foreground content for this view.

Foreground content may consist of scroll bars, a #setForeground foreground drawable or other view-specific decorations. The foreground is drawn on top of the primary view content.

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