PointHitTestParameters 类

定义

Point 指定为将用于可视对象的命中测试的参数。Specifies a Point as the parameter to be used for hit testing of a visual object.

public ref class PointHitTestParameters : System::Windows::Media::HitTestParameters
public class PointHitTestParameters : System.Windows.Media.HitTestParameters
type PointHitTestParameters = class
    inherit HitTestParameters
Public Class PointHitTestParameters
Inherits HitTestParameters
继承
PointHitTestParameters

注解

PointHitTestParameters类用于离散坐标命中测试, 如可能由设备返回。The PointHitTestParameters class is for discrete coordinate hit testing, such as might be returned by a device. 你还可以Geometry通过GeometryHitTestParameters创建对象对进行命中测试。You can also hit test with a Geometry by creating a GeometryHitTestParameters object.

构造函数

PointHitTestParameters(Point)

使用 PointHitTestParameters 初始化 Point 类的一个新实例。Initializes a new instance of the PointHitTestParameters class, using a Point.

属性

HitPoint

获取要对其进行命中测试的 PointGets the Point against which to hit test.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于