语言

GestureOverlayView 构造函数

定义

重载

名称 说明
GestureOverlayView(Context)

使用指定的上下文创建手势覆盖。

GestureOverlayView(Context, IAttributeSet)

使用指定的上下文和 XML 属性创建手势覆盖。

GestureOverlayView(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

GestureOverlayView(Context, IAttributeSet, Int32)

使用默认样式属性创建手势覆盖。

GestureOverlayView(Context, IAttributeSet, Int32, Int32)

使用默认样式属性和回退样式资源创建手势覆盖。

GestureOverlayView(Context)

使用指定的上下文创建手势覆盖。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public GestureOverlayView(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context -> Android.Gestures.GestureOverlayView

参数

context
Context

为视图提供资源和主题信息的上下文。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

GestureOverlayView(Context, IAttributeSet)

使用指定的上下文和 XML 属性创建手势覆盖。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public GestureOverlayView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context * Android.Util.IAttributeSet -> Android.Gestures.GestureOverlayView

参数

context
Context

为视图提供资源和主题信息的上下文。

attrs
IAttributeSet

视图的 XML 属性,或 null。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

GestureOverlayView(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected GestureOverlayView(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Gestures.GestureOverlayView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Gestures.GestureOverlayView

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

GestureOverlayView(Context, IAttributeSet, Int32)

使用默认样式属性创建手势覆盖。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public GestureOverlayView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Gestures.GestureOverlayView

参数

context
Context

为视图提供资源和主题信息的上下文。

attrs
IAttributeSet

视图的 XML 属性,或 null。

defStyleAttr
Int32

提供默认视图样式的主题属性,或为零以省略默认样式属性。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

GestureOverlayView(Context, IAttributeSet, Int32, Int32)

使用默认样式属性和回退样式资源创建手势覆盖。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public GestureOverlayView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Gestures.GestureOverlayView

参数

context
Context

为视图提供资源和主题信息的上下文。

attrs
IAttributeSet

视图的 XML 属性,或 null。

defStyleAttr
Int32

提供默认视图样式的主题属性,或为零以省略默认样式属性。

defStyleRes
Int32

如果 defStyleAttr 主题中找不到或找不到默认样式资源,则使用的默认样式资源为零,或为零,以省略此默认值。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于