次の方法で共有


View.DragShadowBuilder Constructors

Definition

Overloads

View.DragShadowBuilder()

Construct a shadow builder object with no associated View.

View.DragShadowBuilder(View)

Constructs a shadow image builder based on a View.

View.DragShadowBuilder(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

View.DragShadowBuilder()

Construct a shadow builder object with no associated View.

[Android.Runtime.Register(".ctor", "()V", "")]
public DragShadowBuilder ();
Attributes

Remarks

Construct a shadow builder object with no associated View. This constructor variant is only useful when the #onProvideShadowMetrics(Point, Point) and #onDrawShadow(Canvas) methods are also overridden in order to supply the drag shadow's dimensions and appearance without reference to any View object.

Java documentation for android.view.View.DragShadowBuilder.View$DragShadowBuilder().

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

View.DragShadowBuilder(View)

Constructs a shadow image builder based on a View.

[Android.Runtime.Register(".ctor", "(Landroid/view/View;)V", "")]
public DragShadowBuilder (Android.Views.View? view);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;)V", "")>]
new Android.Views.View.DragShadowBuilder : Android.Views.View -> Android.Views.View.DragShadowBuilder

Parameters

view
View

A View. Any View in scope can be used.

Attributes

Remarks

Constructs a shadow image builder based on a View. By default, the resulting drag shadow will have the same appearance and dimensions as the View, with the touch point over the center of the View.

Java documentation for android.view.View.DragShadowBuilder.View$DragShadowBuilder(android.view.View).

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

View.DragShadowBuilder(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DragShadowBuilder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.View.DragShadowBuilder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.View.DragShadowBuilder

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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