View.DragShadowBuilder.OnDrawShadow(Canvas) Method

Definition

Draws the shadow image.

[Android.Runtime.Register("onDrawShadow", "(Landroid/graphics/Canvas;)V", "GetOnDrawShadow_Landroid_graphics_Canvas_Handler")]
public virtual void OnDrawShadow (Android.Graphics.Canvas canvas);
[<Android.Runtime.Register("onDrawShadow", "(Landroid/graphics/Canvas;)V", "GetOnDrawShadow_Landroid_graphics_Canvas_Handler")>]
abstract member OnDrawShadow : Android.Graphics.Canvas -> unit
override this.OnDrawShadow : Android.Graphics.Canvas -> unit

Parameters

canvas
Canvas

A android.graphics.Canvas object in which to draw the shadow image.

Attributes

Remarks

Draws the shadow image. The system creates the android.graphics.Canvas object based on the dimensions it received from the #onProvideShadowMetrics(Point, Point) callback.

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